decode

Function decode 

Source
pub fn decode(input: &[u8]) -> Result<(u32, usize), Error>
Expand description

Decode a PUI from the start of input.

Returns the value and the number of bytes consumed.