IBStream

Base class for streams. \ingroup pluginBase - read/write binary data from/to stream - get/set stream read-write position (read and write position is the same)

Members

Aliases

IStreamSeekMode
alias IStreamSeekMode = int
Undocumented in source.

Enums

kIBSeekSet
anonymousenum kIBSeekSet
Undocumented in source.

Functions

read
tresult read(void* buffer, int32 numBytes, int32* numBytesRead)

Reads binary data from stream. \param buffer : destination buffer \param numBytes : amount of bytes to be read \param numBytesRead : result - how many bytes have been read from stream (set to 0 if this is of no interest)

seek
tresult seek(int64 pos, int32 mode, int64* result)

Sets stream read-write position. \param pos : new stream position (dependent on mode) \param mode : value of enum IStreamSeekMode \param result : new seek position (set to 0 if this is of no interest)

tell
tresult tell(int64* pos)

Gets current stream read-write position. \param pos : is assigned the current position if function succeeds

write
tresult write(void* buffer, int32 numBytes, int32* numBytesWritten)

Writes binary data to stream. \param buffer : source buffer \param numBytes : amount of bytes to write \param numBytesWritten : result - how many bytes have been written to stream (set to 0 if this is of no interest)

Static variables

iid
TUID iid;
Undocumented in source.

Inherited Members

From FUnknown

iid
TUID iid;
Undocumented in source.

Meta