pub fn encode_max_power<C>(
value: usize,
max_size: usize,
consumer: &mut C,
) -> Result<(), C::Error>where
C: BulkConsumer<Item = u8>,Expand description
Encode a usize to a n-width unsigned integer, where n is the least number of bytes needed to represent max_size.