Function il2_iltags::ilint::encode[][src]

pub fn encode(value: u64, writer: &mut dyn Writer) -> Result<()>
Expand description

Encodes the given value into a ILInt value.

Arguments:

  • value: The value to be encoded;
  • writer: The writer that will receive the encoded value;

Returns:

  • Ok(()): In case of success.
  • Err(ErrorKind): In case of an I/O error.