![]() |
Write data to a location in the file.
void write( std::uint64_t offset, void const* buffer, std::size_t bytes, error_code& ec);
The file must be open with a mode allowing writes.
|
Name |
Description |
|---|---|
|
|
The position in the file to write from, expressed as a byte offset from the beginning. |
|
|
The data the write. |
|
|
The number of bytes to write. |
|
|
Set to the error, if any occurred. |