Function bitbuffer::bit_size_of_sized[][src]

pub fn bit_size_of_sized<'a, T: BitReadSized<'a, LittleEndian>>(
    size: usize
) -> Option<usize>
Expand description

Get the number of bits required to read a type from stream given an input size

If the number of bits needed can not be determined beforehand None is returned