Function parse

Source
pub fn parse(input: &[u8]) -> Result<File<'_>, ParseError>
Available on crate feature alloc only.
Expand description

Parses a slice of bytes into an SML File.

This function is available only if sml-rs is built with the "alloc" feature.