Function il2_iltags::ilint::decode_from_bytes[][src]

pub fn decode_from_bytes(value: &[u8]) -> Result<(u64, usize)>
Expand description

Decodes an ILInt from a byte slice.

Arguments:

  • value: The ILInt value.

Returns:

  • Ok((u64,usize)): The value of the ILInt and the number of bytes used.
  • Err(ErrorKind): In case of error.