...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Set the cursor position of the file.
void seek( std::uint64_t offset, error_code& ec);
This function can be used to move the cursor of the file ahead so that
only a part gets read. This file will also adjust the value_type
, in case the file is
already part of a body.
Name |
Description |
---|---|
|
The offset in bytes from the beginning of the file |
|
Set to the error, if any occurred |