Skip to main content

encode_integer

Function encode_integer 

Source
pub fn encode_integer(
    value: u64,
    prefix_bits: u32,
    flags: u8,
    out: &mut [u8],
    len: usize,
) -> Result<usize, Error>
Expand description

RFC 7541 section 5.1, with flags supplying the bits above the prefix.