Expand description

Bytestream writing functionality.

Functions

Converts a f32 into 4 unsigned bytes and writes them in a big-endian order at the start of a buffer.

Converts a f32 into 4 unsigned bytes and writes them in a little-endian order at the start of a buffer.

Converts a f64 into 8 unsigned bytes and writes them in a big-endian order at the start of a buffer.

Converts a f64 into 8 unsigned bytes and writes them in a little-endian order at the start of a buffer.

Converts a i8 into an unsigned byte and writes it at the start of a buffer.

Converts an i16 into 2 unsigned bytes and writes them in a big-endian order at the start of a buffer.

Converts an i16 into 2 unsigned bytes and writes them in a little-endian order at the start of a buffer.

Converts an i32 into 4 unsigned bytes and writes them in a big-endian order at the start of a buffer.

Converts an i32 into 4 unsigned bytes and writes them in a little-endian order at the start of a buffer.

Converts an i64 into 8 unsigned bytes and writes them in a big-endian order at the start of a buffer.

Converts an i64 into 8 unsigned bytes and writes them in a little-endian order at the start of a buffer.

Writes an unsigned byte at the start of a buffer.

Writes 2 unsigned bytes in a big-endian order at the start of a buffer.

Writes 2 unsigned bytes in a little-endian order at the start of a buffer.

Writes 4 unsigned bytes in a big-endian order at the start of a buffer.

Writes 4 unsigned bytes in a little-endian order at the start of a buffer.

Writes 8 unsigned bytes in a big-endian order at the start of a buffer.

Writes 8 unsigned bytes in a little-endian order at the start of a buffer.