Skip to main content

parse_header

Function parse_header 

Source
pub fn parse_header(bytes: &[u8]) -> Result<usize, Error>
Expand description

Validate header framing and checksum, returning a software-bounded body length. This does not validate the body or assert that a length describes a print job.