Expand description
Binary parsing utils.
This module should not be used directly, unless you’re planning to parse some tables manually.
Structs§
- F2DOT14
- A 16-bit signed fixed number with the low 14 bits of fraction (2.14).
- Fixed
- A 32-bit signed fixed-point number (16.16).
- Lazy
Array16 - A slice-like container that converts internal binary data only on access.
- Lazy
Array32 - A slice-like container that converts internal binary data only on access.
- Lazy
Array Iter16 - An iterator over
LazyArray16
. - Lazy
Array Iter32 - An iterator over
LazyArray32
. - Offset16
- A type-safe u16 offset.
- Offset32
- A type-safe u32 offset.
- Stream
- A streaming binary parser.
- U24
- A u24 number.
Traits§
- From
Data - A trait for parsing raw binary data.
- NumFrom
- A safe u32 to usize casting.
- Offset
- A common offset methods.
- TryNum
From - Just like TryFrom
, but for numeric types not supported by the Rust’s std.