Expand description

Bytestream reader functionality.

Functions

Reads the first 4 bytes of a buffer, stores them in a big-endian order, and returns them as an f32.

Reads the first 4 bytes of a buffer, stores them in a little-endian order, and returns them as an f32.

Reads the first 8 bytes of a buffer, stores them in a big-endian order, and returns them as an f64.

Reads the first 8 bytes of a buffer, stores them in a little-endian order, and returns them as an f64.

Reads the first byte of a buffer and returns it as an i8.

Reads the first 2 bytes of a buffer, stores them in a big-endian order, and returns them as an i16.

Reads the first 2 bytes of a buffer, stores them in a little-endian order, and returns them as an i16.

Reads the first 4 bytes of a buffer, stores them in a big-endian order, and returns them as an i32.

Reads the first 4 bytes of a buffer, stores them in a little-endian order, and returns them as an i32.

Reads the first 8 bytes of a buffer, stores them in a big-endian order, and returns them as an i64.

Reads the first 8 bytes of a buffer, stores them in a little-endian order, and returns them as an i64.

Reads the first byte of a buffer.

Reads the first 2 bytes of a buffer and stores them in a big-endian order.

Reads the first 2 bytes of a buffer and stores them in a little-endian order.

Reads the first 4 bytes of a buffer and stores them in a big-endian order.

Reads the first 4 bytes of a buffer and stores them in a little-endian order.

Reads the first 8 bytes of a buffer and stores them in a big-endian order.

Reads the first 8 bytes of a buffer and stores them in a little-endian order.