[][src]Module cookie_factory::bytes

bytes and numbers related serialization functions

Functions

be_f32

Writes an f32 in big endian byte order to the output

be_f64

Writes an f64 in big endian byte order to the output

be_i8

Writes an i8 to the output

be_i16

Writes an i16 in big endian byte order to the output

be_i24

Writes the lower 24 bit of an i32 in big endian byte order to the output

be_i32

Writes an i32 in big endian byte order to the output

be_i64

Writes an i64 in big endian byte order to the output

be_u8

Writes an u8 to the output

be_u16

Writes an u16 in big endian byte order to the output

be_u24

Writes the lower 24 bit of an u32 in big endian byte order to the output

be_u32

Writes an u32 in big endian byte order to the output

be_u64

Writes an u64 in big endian byte order to the output

le_f32

Writes an f32 in little endian byte order to the output

le_f64

Writes an f64 in little endian byte order to the output

le_i8

Writes an i8 to the output

le_i16

Writes an o16 in little endian byte order to the output

le_i24

Writes the lower 24 bit of an i32 in little endian byte order to the output

le_i32

Writes an i32 in little endian byte order to the output

le_i64

Writes an i64 in little endian byte order to the output

le_u8

Writes an u8 to the output

le_u16

Writes an u16 in little endian byte order to the output

le_u24

Writes the lower 24 bit of an u32 in little endian byte order to the output

le_u32

Writes an u32 in little endian byte order to the output

le_u64

Writes an u64 in little endian byte order to the output