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

IIoStreamReader Class

C++
#include "Rx.Core/IIoStream.h"
class IIoStreamReader : public IIoStream

An i/o stream reader.

Destructor

~IIoStreamReader()

Destructor.

Methods

Read(buffer, bytes)

Reads the given amount of bytes from the stream.

Peek(buffer, bytes, offset)

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

IsEOF()

Query if the stream has reached the end of the stream/file.

Size()

Gets the total number of bytes that can be read from this stream.

SetPosition(offset, origin)

Sets the current stream position.

(Inherited from IIoStream)
GetPosition()

Returns the current stream position.

(Inherited from IIoStream)