Sets the stream to data.
Appends data to the stream.
Sets the stream to data.
Returns T.sizeof bytes from the stream at position index without advancing the stream.
Returns a T[] from the stream.
Returns the first T.sizeof bytes from the stream and advances the stream.
Returns a T[] from the stream and advances the stream.
Reads until value is value and returns everything read excluding value. Advances after found value. Returns null if value was not found.
Reads until value is value and returns everything read including value. Advances after found value. Returns null if value was not found.
Advances the stream by amount bytes.
Writes data to the stream at position index.
Contains the data.
Struct for wrapping a ubyte[] with read functions and endianness.