BufferedFile::SetPos

rewind to a given reading position

Synopsis

Declared in <streams.h>

bool
SetPos(uint64_t nPos);

Return Value

True if the position was set exactly, false if it was clamped to the reachable range.

Parameters

NameDescription
nPosAbsolute stream position to move the read pointer to.