Expand description
This module contains all of the types that are used within the binary_util
crate.
For example, Sometimes you may need to use a u24
or varu32
type, on structs,
and this module provides those types.
Structs§
- BE
- Big Endian (BE) wrapper type
This type is used to indicate that the value is in big endian format
It’s primary use is in deriving from
BinaryIo
trait - LE
- Little Endian (LE) wrapper type
This type is used to indicate that the value is in little endian format
It’s primary use is in deriving from
BinaryIo
trait - i24
- Signed 24 bit integer explicit type.
You should really only use this when you need to derive the
BinaryIo
trait as it is a helper type. - u24
- Unsigned 24 bit integer explicit type.
You should really only use this when you need to derive the
BinaryIo
trait as it is a helper type. - vari32
- A variable length integer type that can be up to 32 bits.
This is a helper type for deriving the
BinaryIo
trait. - vari64
- A variable length integer type that can be up to 64 bits.
This is a helper type for deriving the
BinaryIo
trait. - varu32
- A variable length integer type that can be up to 32 bits.
This is a helper type for deriving the
BinaryIo
trait. - varu64
- A variable length integer type that can be up to 64 bits.
This is a helper type for deriving the
BinaryIo
trait.