BloombergLP::bdlbb::InBlobStreamBuf::seekoff

Set the location from which the next I/O operation indicated by the optionally specified which mode will occur to the specified offset position from the location indicated by the specified fixedPosition. Return the new offset on success, and off_type(-1) otherwise. offset may be negative. Note that this method will fail if bsl::ios_base::out is set.

Synopsis

Declared in <bdlbb_blobstreambuf.h>

virtual
pos_type
seekoff(
    off_type offset,
    std::ios_base::seekdir fixedPosition,
    std::ios_base::openmode which = bsl::ios_base::in | bsl::ios_base::out) override;