Function py_parse_u8

Source
pub fn py_parse_u8<'_py>(
    stream: Bound<'_py, PyBytes>,
    start_pos: usize,
) -> (u8, usize)
Expand description

Parse an u8 from python bytes.

ยงArguments:

  • stream (bytes) : parse the number from this stream
  • start_pos (int) : begin parsing at this position