Contiguous buffer with support for sliced loading. More...
Public Member Functions | |
BinaryBuffer (const StorageView &storageView) | |
Allocate the buffer. | |
void | copyBufferToStorageView (StorageView &storageView) |
Copy data from buffer to storageView while handling slicing. | |
void | copyStorageViewToBuffer (const StorageView &storageView) |
Copy data from storageView to buffer. | |
std::size_t | size () const noexcept |
Get Buffer size. | |
Byte * | data () noexcept |
Get pointer to the beginning of the buffer. | |
const Byte * | data () const noexcept |
std::size_t | offset () const noexcept |
Get initial offset of the data on disk in bytes. | |
Contiguous buffer with support for sliced loading.
Definition at line 30 of file BinaryArchive.cpp.