pub fn decode(value: &[u8]) -> Result<(u64, usize)>Expand description
Decodes an ILInt value.
Arguments:
value: The ILInt value;
Returns:
- Ok(value,size): The decoded value and the number of bytes used.
Err(ErrorKind::InsufficientBuffer): If the buffer is too small to hold the encoded value.Err(ErrorKind::Overflow): If the encoded value is larger than the maximum allowed value.