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

IIoStreamReader::Peek Method

C++
virtual void Peek(void* buffer, size_t bytes, size_t offset)

Peeks the given amount of bytes from the stream. This does NOT move the stream position.

Parameters

[void*] buffer

[in] The pointer to the target memory.

[size_t] bytes

The number of bytes to read.

[size_t] offset

(Optional) The read offset.