Skip to main content
Module octets
- kib
- Multiply by 1024 to express a byte count in kibibytes (KiB).
- kib_u64
u64 variant of kib.- mib
- Multiply by 1024² to express a byte count in mebibytes (MiB).
- mib_u64
u64 variant of mib.- unpack_octets_as_u16
- A helper function that unpacks a sequence of 2 bytes found in the buffer with
starting at the given offset, into a u16.
- unpack_octets_as_u32
- A helper function that unpacks a sequence of 4 bytes found in the buffer with
starting at the given offset, into a u32.