class BoundedWriter
Defined at line 20 of file ../../src/storage/volume_image/utils/bounded_writer.h
Created fixed length writer over another Writer, where any write exceeding its length is treated
as an error.
Public Methods
void BoundedWriter (std::unique_ptr<Writer> writer, uint64_t offset, uint64_t length)
Defined at line 22 of file ../../src/storage/volume_image/utils/bounded_writer.h
fpromise::result<void, std::string> Write (uint64_t offset, std::span<const uint8_t> buffer)
Defined at line 25 of file ../../src/storage/volume_image/utils/bounded_writer.h