std::basic_spanbuf<CharT,Traits>::seekoff

Repositions the next pointer to get and/or put area, if possible, to the position that corresponds to exactly off characters from beginning, end, or current position of the get and/or put area of the buffer.

# Declarations

protected:
pos_type seekoff( off_type off, std::ios_base::seekdir dir,
std::ios_base::openmode which =
std::ios_base::in | std::ios_base::out ) override;

(since C++23)

# Parameters

# Return value

pos_type(newoff) on success, pos_type(off_type(-1)) on failure.

# Example

This section is incompleteReason: no example

# See also