Function il2_iltags::ilint::decode_body[][src]

pub fn decode_body(body: &[u8]) -> Result<u64>
Expand description

Decodes the body of a multi-byte ILInt. This function is usefull if the header was already used to determine the size of the body.

Arguments:

  • body: The multibyte ILInt value.

Returns:

  • Ok(u64): The value of the ILInt.
  • Err(ErrorKind): In case of error.