Module ttf_parser::parser
source · Expand description
Binary parsing utils.
This module should not be used directly, unless you’re planning to parse some tables manually.
Structs§
- A 16-bit signed fixed number with the low 14 bits of fraction (2.14).
- A 32-bit signed fixed-point number (16.16).
- A slice-like container that converts internal binary data only on access.
- A slice-like container that converts internal binary data only on access.
- An iterator over
LazyArray16
. - An iterator over
LazyArray32
. - A
LazyArray16
-like container, but data is accessed by offsets. - An iterator over
LazyOffsetArray16
values. - A type-safe u16 offset.
- A type-safe u24 offset.
- A type-safe u32 offset.
- A streaming binary parser.
- A u24 number.
Traits§
- A trait for parsing raw binary data of fixed size.
- A trait for parsing raw binary data of variable size.
- A safe u32 to usize casting.
- A common offset methods.
- Just like TryFrom
, but for numeric types not supported by the Rust’s std.