[#BloombergLP-bdlbb-InBlobStreamBuf-seekpos] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlbb.adoc[bdlbb]::xref:BloombergLP/bdlbb/InBlobStreamBuf.adoc[InBlobStreamBuf]::seekpos :relfileprefix: ../../../ :mrdocs: Set the I/O position for the specified open mode. == Synopsis Declared in `<bdlbb_blobstreambuf.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual pos_type seekpos( pos_type position, std::ios_base::openmode which = bsl::ios_base::in | bsl::ios_base::out) override; ---- == Description Set the location from which the next I/O operation indicated by the optionally specified `which` mode will occur to the specified `position`. Return `position` on success, and `off_type(‐1)` otherwise. Note that this method will fail if `bsl::ios_base::out` is set. == Return Value `position` on success, and `off_type(‐1)` otherwise == Parameters [cols="1,4"] |=== | Name| Description | *position* | absolute position to seek to | *which* | open mode indicating which position to set |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#