Namespace: Rx – Class: IIoStream – Header: Rx.Core/IIoStream.h

IIoStream::SetPosition Method

C++
virtual uint64_t SetPosition(int64_t offset, IoStreamOrigin origin)

Sets the current stream position.

Parameters

[int64_t] offset

The new position described as an offset relative to the given origin.

[IoStreamOrigin] origin

(Optional) The origin of the offset.

Returns

uint64_t

The new position.