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