template <typename T>
struct StorageTraits
Defined at line 440 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 450 of file ../../src/lib/zbitl/include/lib/zbitl/storage-traits.h
fit::result<error_type, uint32_t> Capacity (Storage & zbi)
Defined at line 452 of file ../../src/lib/zbitl/include/lib/zbitl/storage-traits.h
fit::result<error_type, payload_type> Payload (Storage &zbi,uint32_toffset,uint32_tlength)
Defined at line 458 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_typepayload,uint32_tlength)
Defined at line 466 of file ../../src/lib/zbitl/include/lib/zbitl/storage-traits.h