[#BloombergLP-bdlsb-OverflowMemOutStreamBuf-seekoff]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlsb.adoc[bdlsb]::xref:BloombergLP/bdlsb/OverflowMemOutStreamBuf.adoc[OverflowMemOutStreamBuf]::seekoff
:relfileprefix: ../../../
:mrdocs:

Set the position indicator to the relative specified `offset` from the base position indicated by the specified `way` and return the resulting absolute position on success or pos&lowbar;type(&hyphen;1) on failure&period; Optionally specify `which` area of the stream buffer&period; The seek operation will fail if `which` does not include the flag `bsl&colon;&colon;ios&lowbar;base&colon;&colon;out` or if the resulting absolute position is negative&period;

== Synopsis

Declared in `&lt;bdlsb&lowbar;overflowmemoutstreambuf&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
pos&lowbar;type
seekoff(
    off&lowbar;type offset,
    std::ios&lowbar;base::seekdir way,
    std::ios&lowbar;base::openmode which = bsl&colon;&colon;ios&lowbar;base&colon;&colon;in &verbar; bsl&colon;&colon;ios&lowbar;base&colon;&colon;out) override;
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
