template <typename T>

struct StorageTraits

Defined at line 448 of file ../../src/lib/zbitl/include/lib/zbitl/storage-traits.h

Specialization for std::basic_string_view

<byte

-size type> as Storage. Its

payload_type is the same type as Storage, just yielding the substring of the

original whole-ZBI string_view.

Public Methods

std::string_view error_string (error_type error)

Defined at line 458 of file ../../src/lib/zbitl/include/lib/zbitl/storage-traits.h

fit::result<error_type, uint32_t> Capacity (Storage & zbi)

Defined at line 460 of file ../../src/lib/zbitl/include/lib/zbitl/storage-traits.h

fit::result<error_type, payload_type> Payload (Storage & zbi, uint32_t offset, uint32_t length)

Defined at line 466 of file ../../src/lib/zbitl/include/lib/zbitl/storage-traits.h

template <PayloadCompatibleStorage U, bool LowLocality>
fit::result<error_type, std::span<const U>> Read (Storage & zbi, payload_type payload, uint32_t length)

Defined at line 474 of file ../../src/lib/zbitl/include/lib/zbitl/storage-traits.h

template <PayloadCompatibleStorage U, bool LowLocality>
fit::result<error_type, std::span<const U>> Read (Storage & zbi, payload_type payload, uint32_t length)

Defined at line 474 of file ../../src/lib/zbitl/include/lib/zbitl/storage-traits.h

template <PayloadCompatibleStorage U, bool LowLocality>
fit::result<error_type, std::span<const U>> Read (Storage & zbi, payload_type payload, uint32_t length)

Defined at line 474 of file ../../src/lib/zbitl/include/lib/zbitl/storage-traits.h

Records