pub fn read_int(buf: &mut &[u8]) -> Result<i32, ParseError>