Function ot_certs::cbor::arg_size

source ·
pub fn arg_size(arg: u64) -> (u64, u8)
Expand description

Given a CBOR argument, it returns:

  1. how many additional bytes to encode them
  2. the value to be filled in the header’s additional information