Function bgcode_parser_with_checksum

Source
pub fn bgcode_parser_with_checksum(
    input: &[u8],
) -> IResult<&[u8], Bgcode<'_>, BlockError>
Expand description

Parses a binary gcode

Slower more exacting version where each block is rejected if checksum fails.

§Errors

When the bytes stream is not a valid file.