pub fn encode_integer( value: u64, prefix_bits: u32, flags: u8, out: &mut [u8], len: usize, ) -> Result<usize, Error>
RFC 7541 section 5.1, with flags supplying the bits above the prefix.
flags