[][src]Function passerine::common::number::build_number

pub fn build_number(bytes: &[u8]) -> (usize, usize)

This takes a stream of bytes, and builds the next number in it. Note that this function tries to build a number no matter what, even if the byte stream does not have a number, is empty, or ends after a continue bit is set.