data_encoding

Function encode_pad_len

Source
pub(crate) fn encode_pad_len<B: Static<usize>, P: Static<Option<u8>>>(
    bit: B,
    pad: P,
    len: usize,
) -> usize