class
basic_seek_streamImplements the basic seeking methods required for every stream.
Derived classes
-
template<class T>class span_stream_base
- Implements the common interface of every
span_stream
. -
template<class T>class span_stream_base
- Implements the common interface of every
span_stream
. -
template<class Container>class basic_memory_stream_base
- Implements the common interface of every
memory_stream
. -
template<class T>class span_stream_base
- Implements the common interface of every
span_stream
.
Position
-
void seek_absolute(binary_io::
streamoff a_pos) noexcept - Seek to an absolute position in the stream (i.e. from the beginning).
-
void seek_relative(binary_io::
streamoff a_off) noexcept - Seek to a position in the stream relative to the current position.
-
auto tell() const -> binary_io::
streamoff noexcept - Gets the current stream position.
Function documentation
void binary_io:: components:: basic_seek_stream:: seek_absolute(binary_io:: streamoff a_pos) noexcept
Seek to an absolute position in the stream (i.e. from the beginning).
Parameters | |
---|---|
a_pos | The absolute position to seek to. |
void binary_io:: components:: basic_seek_stream:: seek_relative(binary_io:: streamoff a_off) noexcept
Seek to a position in the stream relative to the current position.
Parameters | |
---|---|
a_off | The offset to seek to. |
binary_io:: streamoff binary_io:: components:: basic_seek_stream:: tell() const noexcept
Gets the current stream position.
Returns | The current stream position. |
---|