IStream

Undocumented in source.

Members

Functions

data
ubyte[] data()

Reads the entire stream

read
ubyte read()

Reads an unsigned byte from the stream

read
ubyte[] read(size_t n)

Reads an array of ubytes from the stream

seek
ulong seek(long pos, Seek origin)

Sets the current position in the stream

skip
ulong skip(ulong n)

Skip n positions in the stream

write
void write(ubyte b)

Writes an unsigned byte to the stream

write
void write(ubyte[] b)

Writes an array of unsigned bytes to the stream

Properties

empty
bool empty [@property getter]

Check if empty

length
ulong length [@property getter]

A property that returns the length of the stream

readable
bool readable [@property getter]

Readable

seekable
bool seekable [@property getter]

Seekable

tell
ulong tell [@property getter]

Current position

writable
bool writable [@property getter]

Writable

Meta