[#BloombergLP-bdlsb-FixedMemInput-pubseekoff] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlsb.adoc[bdlsb]::xref:BloombergLP/bdlsb/FixedMemInput.adoc[FixedMemInput]::pubseekoff :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_type(‐1) on failure. Optionally specify `which` area of the stream buffer. The seek operation will fail if `which` does not include the flag `bsl::ios_base::in` or if the resulting absolute position is less than zero or greater than the value returned by `length`. == Synopsis Declared in `<bdlsb_fixedmeminput.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlsb/FixedMemInput/pos_type.adoc[pos_type] pubseekoff( xref:BloombergLP/bdlsb/FixedMemInput/off_type.adoc[off_type] offset, std::ios_base::seekdir way, std::ios_base::openmode which = bsl::ios_base::in); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#