pub fn bit_length(&self, byte_length: usize) -> usize {
        if self.is_fixed_length() {
            return self.bit_length;
        }
        byte_length * self.bit_length
    }
/**
     * Returns the bit length of a field for a given encoding and unencoded field byte length
     * @param byteLength the number of bytes in the unencoded field
     * @return the number of bits in a compressed encoded field
     */
Returns the bit length of a field for a given encoding and unencoded field byte length
@param byteLength the number of bytes in the unencoded field
@return the number of bits in a compressed encoded field
Returns the bit length of a field for a given encoding and unencoded field byte length @param byteLength the number of bytes in the unencoded field @return the number of bits in a compressed encoded field
pub fn bit_length(&self, byte_length: usize) -> usize {
        if self.is_fixed_length() {
            return self.bit_length;
        }
        byte_length * self.bit_length
    }
pub fn bit_length ( & self , byte_length : usize ) -> usize { if self . is_fixed_length ( ) { return self . bit_length ; } byte_length * self . bit_length }
Returns the bit length of a field for a given encoding and unencoded field byte length
 @param byteLength the number of bytes in the unencoded field
 @return the number of bits in a compressed encoded field
Returns the bit length of a field for a given encoding and unencoded field byte length @param byteLength the number of bytes in the unencoded field @return the number of bits in a compressed encoded field
&self
byte_length
usize
&self
byte_length
usize