passerine::common

Module number

Source

Functionsยง

  • 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.
  • Splits a number into a vector of bytes. Each byte in the vector is layed out as follows: