Module cookie_factory::bytes

source ·
Expand description

bytes and numbers related serialization functions

Functions§

  • Writes an f32 in big endian byte order to the output
  • Writes an f64 in big endian byte order to the output
  • Writes an i8 to the output
  • Writes an i16 in big endian byte order to the output
  • Writes the lower 24 bit of an i32 in big endian byte order to the output
  • Writes an i32 in big endian byte order to the output
  • Writes an i64 in big endian byte order to the output
  • Writes an u8 to the output
  • Writes an u16 in big endian byte order to the output
  • Writes the lower 24 bit of an u32 in big endian byte order to the output
  • Writes an u32 in big endian byte order to the output
  • Writes an u64 in big endian byte order to the output
  • Writes an f32 in little endian byte order to the output
  • Writes an f64 in little endian byte order to the output
  • Writes an i8 to the output
  • Writes an o16 in little endian byte order to the output
  • Writes the lower 24 bit of an i32 in little endian byte order to the output
  • Writes an i32 in little endian byte order to the output
  • Writes an i64 in little endian byte order to the output
  • Writes an u8 to the output
  • Writes an u16 in little endian byte order to the output
  • Writes the lower 24 bit of an u32 in little endian byte order to the output
  • Writes an u32 in little endian byte order to the output
  • Writes an u64 in little endian byte order to the output
  • Writes an f32 in native byte order to the output
  • Writes an f64 in native byte order to the output
  • Writes an i8 to the output
  • Writes an i16 in native byte order to the output
  • Writes the lower 24 bit of an i32 in native byte order to the output
  • Writes an i32 in native byte order to the output
  • Writes an i64 in native byte order to the output
  • Writes an u8 to the output
  • Writes an u16 in native byte order to the output
  • Writes the lower 24 bit of an u32 in native byte order to the output
  • Writes an u32 in native byte order to the output
  • Writes an u64 in native byte order to the output