Module cookie_factory::gen

source ·
Expand description

legacy serializers, kept for backwards compatibility from previous cookie factory versions

Functions§

  • Write an unsigned 1 byte integer. Equivalent to gen_be_u8!(v)
  • Write an unsigned 2 bytes integer (big-endian order). Equivalent to gen_be_u16!(v)
  • Write an unsigned 4 bytes integer (big-endian order). Equivalent to gen_be_u32!(v)
  • Write an unsigned 8 bytes integer (big-endian order). Equivalent to gen_be_u64!(v)
  • Write an unsigned 1 byte integer. Equivalent to gen_le_u8!(v)
  • Write an unsigned 2 bytes integer (little-endian order). Equivalent to gen_le_u16!(v)
  • Write an unsigned 4 bytes integer (little-endian order). Equivalent to gen_le_u32!(v)
  • Write an unsigned 8 bytes integer (little-endian order). Equivalent to gen_le_u64!(v)