Module allsorts_no_std::binary[][src]

Reading and writing of binary data.

Modules

read

Parse binary data

write

Write binary data

Enums

I8

Signed 8-bit binary type.

I16Be

Signed 16-bit big endian binary type.

I32Be

Signed 32-bit big endian binary type.

I64Be

Signed 64-bit binary type.

U8

Unsigned 8-bit binary type.

U16Be

Unsigned 16-bit big endian binary type.

U24Be

Unsigned 24-bit (3 bytes) big endian binary type.

U32Be

Unsigned 32-bit big endian binary type.

Functions

long_align

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

word_align

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