Skip to main content

parse

Function parse 

Source
pub fn parse(src: &[u8]) -> Result<Type, TypeCodeError>
Available on crate feature types only.
Expand description

Parse a type code stream into a type.

This function is called by the Type::new().

§Errors

If the type code stream is empty or is malformed, an error is returned.

§Grammar

type = (filled | option | code::VOID | code::NIL) eof