[−][src]Trait simple_parse::SpOptHints
Provides optimization hints used by SpRead traits.
Safety
When not using defaults, implementors must be very careful not to return invalid values
as it may lead to buffer over reads (e.g. setting STATIC_SIZE
to 4 and reading 8 bytes in the unchecked
readers)
Associated Constants
pub const IS_VAR_SIZE: bool
[src]
Whether the type has a variable size
pub const STATIC_SIZE: usize
[src]
How many bytes the unchecked
parsing functions can assume are valid
pub const COUNT_SIZE: usize
[src]
Used to substract from STATIC_SIZE when a count is provided