[#BloombergLP-bdlbb-InBlobStreamBuf-seekpos] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlbb.adoc[bdlbb]::xref:BloombergLP/bdlbb/InBlobStreamBuf.adoc[InBlobStreamBuf]::seekpos :relfileprefix: ../../../ :mrdocs: 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. == 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; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#