StreamReader

Undocumented in source.

Members

Functions

drop
void drop(size_t bytesToDrop)
Undocumented in source. Be warned that the author may not have intended to support it.
dropPadding
void dropPadding(uint alignment)
Undocumented in source. Be warned that the author may not have intended to support it.
empty
bool empty()
Undocumented in source. Be warned that the author may not have intended to support it.
read
T read()
Undocumented in source. Be warned that the author may not have intended to support it.
readArray
T[] readArray(uint size)
Undocumented in source. Be warned that the author may not have intended to support it.
readArrayBefore
T[] readArrayBefore(uint cursorAfterArray)
Undocumented in source. Be warned that the author may not have intended to support it.
readIntoArray
void readIntoArray(T[] buf)
Undocumented in source. Be warned that the author may not have intended to support it.
readNameBefore
string readNameBefore(uint end)
Undocumented in source. Be warned that the author may not have intended to support it.
readZNameBefore
string readZNameBefore(uint end)
Undocumented in source. Be warned that the author may not have intended to support it.
readZString
string readZString()
Undocumented in source. Be warned that the author may not have intended to support it.
remainingBytes
uint remainingBytes()
Undocumented in source. Be warned that the author may not have intended to support it.
substream
StreamReader substream(uint byteSize)

Creates stream reader that contains byteSize bytes since current cursor. Advances cursor of current stream.

substreamUntil
StreamReader substreamUntil(uint end)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
void toString(void delegate(const(char)[]) sink)
Undocumented in source. Be warned that the author may not have intended to support it.
unread
void unread(uint numBytes)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

fileData
ubyte[] fileData;
Undocumented in source.
pageSize
uint pageSize;
Undocumented in source.
pages
uint[] pages;
Undocumented in source.
streamBytes
uint streamBytes;
Undocumented in source.
streamCursor
uint streamCursor;
Undocumented in source.

Meta