Module binary_util::types

source ·
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

  • 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
  • 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
  • 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.
  • 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.
  • A variable length integer type that can be up to 32 bits. This is a helper type for deriving the BinaryIo trait.
  • A variable length integer type that can be up to 64 bits. This is a helper type for deriving the BinaryIo trait.
  • A variable length integer type that can be up to 32 bits. This is a helper type for deriving the BinaryIo trait.
  • A variable length integer type that can be up to 64 bits. This is a helper type for deriving the BinaryIo trait.