Set the put position to an absolute position.
Declared in <bdlsb_fixedmemoutstreambuf.h>
virtual
pos_type
seekpos(
pos_type position,
std::ios_base::openmode which = bsl::ios_base::out) override;
Set the position indicator to the specified position and return the resulting absolute position on success or pos_type(-1) on failure. Optionally specify which area of the stream buffer. The seekpos operation will fail if which does not include the flag bsl::ios_base::out or if position is less then zero or greater than the value returned by length.
resulting absolute position, or pos_type(-1) on failure
| Name | Description |
|---|---|
| position | absolute position for the position indicator |
| which | area of the stream buffer; must include out |