template <>
class StorageTraits
Defined at line 230 of file ../../src/lib/zbitl/include/lib/zbitl/vmo.h
Public Methods
std::string_view error_string (error_type error)
Defined at line 238 of file ../../src/lib/zbitl/include/lib/zbitl/vmo.h
fit::result<error_type, uint32_t> Capacity (const MapUnownedVmo & zbi)
Defined at line 240 of file ../../src/lib/zbitl/include/lib/zbitl/vmo.h
fit::result<error_type> EnsureCapacity (const MapUnownedVmo & zbi, uint32_t capacity_bytes)
Defined at line 242 of file ../../src/lib/zbitl/include/lib/zbitl/vmo.h
fit::result<error_type, payload_type> Payload (const MapUnownedVmo &zbi,uint32_toffset,uint32_tlength)
Defined at line 246 of file ../../src/lib/zbitl/include/lib/zbitl/vmo.h
template <PayloadCompatibleStorage T, bool LowLocality>
fit::result<error_type, std::span<const T>> Read (MapUnownedVmo &zbi,payload_typepayload,uint32_tlength)
If the locality of subsequent reads is low (i.e., if `LowLocality` is
true), then mapping the pages containing the data (especially when small)
is deemed too high a cost and this method is left unimplemented. In that
case, the unbuffered `Read()` is recommended instead.
Defined at line 256 of file ../../src/lib/zbitl/include/lib/zbitl/vmo.h
fit::result<error_type> Read (const MapUnownedVmo &zbi,payload_typepayload,void *buffer,uint32_tlength)
Defined at line 265 of file ../../src/lib/zbitl/include/lib/zbitl/vmo.h
fit::result<error_type> Write (const MapUnownedVmo &zbi,uint32_toffset,ByteViewdata)
Defined at line 270 of file ../../src/lib/zbitl/include/lib/zbitl/vmo.h
fit::result<error_type, void *> Write (MapUnownedVmo &zbi,uint32_toffset,uint32_tlength)
Defined at line 274 of file ../../src/lib/zbitl/include/lib/zbitl/vmo.h
fit::result<error_type, MapOwnedVmo> Create (const MapUnownedVmo &proto,uint32_tsize,uint32_tinitial_zero_size)
Defined at line 279 of file ../../src/lib/zbitl/include/lib/zbitl/vmo.h
template <typename SlopCheck>
fit::result<error_type, std::optional<std::pair<MapOwnedVmo, uint32_t>>> Clone (const MapUnownedVmo &zbi,uint32_toffset,uint32_tlength,uint32_tto_offset,SlopCheck &&slopcheck)
Defined at line 290 of file ../../src/lib/zbitl/include/lib/zbitl/vmo.h