Module allsorts::binary

source ·
Expand description

Reading and writing of binary data.

Modules

Enums

  • Signed 8-bit binary type.
  • Signed 16-bit big endian binary type.
  • Signed 32-bit big endian binary type.
  • Signed 64-bit binary type.
  • Unsigned 8-bit binary type.
  • Unsigned 16-bit big endian binary type.
  • Unsigned 24-bit (3 bytes) big endian binary type.
  • Unsigned 32-bit big endian binary type.

Functions

  • Calculate the length required to 32-bit (long) align data of length len
  • Calculate the length required to 16-bit (word) align data of length len