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

Name

Description

nPos

Absolute stream position to move the read pointer to.

Created with MrDocs