Struct owned_ttf_parser::parser::Stream [−][src]
pub struct Stream<'a> { /* fields omitted */ }Expand description
A streaming binary parser.
Implementations
Creates a new Stream parser at offset.
Returns None when offset is out of bounds.
Jumps to the end of the stream.
Useful to indicate that we parsed all the data.
Returns the trailing data.
Returns None when Stream is reached the end.
Advances by the specified len and checks for bounds.
Parses the type from the steam.
Returns None when there is not enough data left in the stream
or the type parsing failed.
Parses the type from the steam at offset.
Reads the next count types as a slice.
Reads the next count types as a slice.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Stream<'a>
impl<'a> UnwindSafe for Stream<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more