Function encode_natural

Source
pub fn encode_natural<W: Write>(n: usize, w: &mut BitWriter<W>) -> Result<usize>
Expand description

Encode a positive integer to bits.