class Writer

Defined at line 19 of file ../../src/storage/volume_image/utils/writer.h

Provides a reader interface to abstract platform, and devices particular nuisance to the image

process.

The reader requires an explicit offset, to allow compatibility with non posix interfaces.

Public Methods

fpromise::result<void, std::string> Write (uint64_t offset, std::span<const uint8_t> buffer)

On success data backing this writer is updated at [|offset|, |offset| +

|buffer.size()|] to |buffer|.

On error the returned result to contains a string describing the error.

void ~Writer ()

Defined at line 21 of file ../../src/storage/volume_image/utils/writer.h