pub fn new() -> Self {
        assert!(State::BITS >= 2 * Word::BITS);
        assert_eq!(State::BITS % Word::BITS, 0);

        Self {
            bulk: Vec::new(),
            state: RangeCoderState::default(),
            situation: EncoderSituation::Normal,
        }
    }
/// Creates an empty encoder for range coding.
Creates an empty encoder for range coding.
Creates an empty encoder for range coding .
pub fn new() -> Self {
        assert!(State::BITS >= 2 * Word::BITS);
        assert_eq!(State::BITS % Word::BITS, 0);
        Self {
            bulk: Vec::new(),
            state: RangeCoderState::default(),
            situation: EncoderSituation::Normal,
        }
    }
pub fn new ( ) -> Self { assert ! ( State BITS 2 Word BITS ) ; assert_eq ! ( State BITS Word BITS 0 ) ; Self { bulk : Vec :: new ( ) , state : RangeCoderState :: default ( ) , situation : EncoderSituation :: Normal , } }
Creates an empty encoder for range coding.
Creates an empty encoder for range coding .