Struct jomini::BinaryTapeParser [−][src]
pub struct BinaryTapeParser<F> { /* fields omitted */ }
Expand description
Customizes how the binary tape is parsed from data
Implementations
Create a binary parser with a given flavor
Parse the binary format according to the parser’s flavor and return the data tape
pub fn parse_slice_into_tape<'a>(
self,
data: &'a [u8],
tape: &mut BinaryTape<'a>
) -> Result<(), Error>
pub fn parse_slice_into_tape<'a>(
self,
data: &'a [u8],
tape: &mut BinaryTape<'a>
) -> Result<(), Error>
Parse the binary format into the given tape according to the parser’s flavor.