Read one ubyte from stream and do not advance the stream cursor. On error, return an error, the stream then is considered invalid.
Read one Lthe two fields of a RIFF header: chunk ID and chunk size. On error, return values are undefined behaviour.
Read one Little Endian 24-bit unsigned int from stream and advance the stream cursor. On error, return 0 and an error, stream is then considered invalid.
Read one Little Endian 64-bit float from stream and advance the stream cursor. On error, return double.nan and an error, stream is then considered invalid.
Read one Little Endian 32-bit float from stream and advance the stream cursor. On error, return float.nan and an error, stream is then considered invalid.
Reads a 16-byte UUID from the stream and advance cursor. On error, the stream is considered invalid, and the return value is undefined behaviour.
Read one ubyte from stream and advance the stream cursor. On error, return 0 and an error, stream is then considered invalid.
Read one Big Endian 32-bit unsigned int from stream and advance the stream cursor. On error, return 0 and an error, stream is then considered invalid.
Read one Little Endian 32-bit unsigned int from stream and advance the stream cursor. On error, return 0 and an error, stream is then considered invalid.
Read one Big Endian 64-bit integer from stream and advance the stream cursor. On error, return 0 and an error, stream is then considered invalid.
Read one Little Endian ushort from stream and advance the stream cursor. On error, return 0 and an error, stream is then considered invalid.
Write a RIFF header to stream and advance cursor.
Write a Little Endian 24-bit signed int to stream and advance cursor.
Write a 8-bit signed int to stream and advance cursor.
Write a Little Endian 64-bit double to stream and advance cursor.
Write a Little Endian 32-bit float to stream and advance cursor.
Write a 8-bit signed int to stream and advance cursor.
Write a Big Endian 32-bit unsigned int to stream and advance cursor.
Write a Little Endian 32-bit unsigned integer to stream and advance cursor.
Write a Little Endian 64-bit unsigned integer to stream and advance cursor.
Write a Little Endian 64-bit unsigned integer to stream and advance cursor.
Write a Little Endian 16-bit unsigned integer to stream and advance cursor.