[][src]Crate untrusted6

Structs

EndOfInput

The error type used to indicate the end of the input was reached before the operation could be completed.

Input

A wrapper around &'a [u8] that helps in writing panic-free code.

Mark

An index into the already-parsed input of a Reader.

Reader

A read-only, forward-only* cursor into the data in an Input.

Functions

read_all_optional

Calls read with the given input as a Reader, ensuring that read consumed the entire input. When input is None, read will be called with None.