Trait divans::interface::ArithmeticEncoderOrDecoder[][src]

pub trait ArithmeticEncoderOrDecoder: Sized {
    fn mov(&mut self) -> Self;
fn drain_or_fill_internal_buffer_unchecked(
        &mut self,
        input: &mut ReadableBytes,
        output: &mut WritableBytes
    ) -> DivansResult;
fn has_data_to_drain_or_fill(&self) -> bool;
fn get_or_put_bit_without_billing(
        &mut self,
        bit: &mut bool,
        prob_of_false: u8
    );
fn get_or_put_nibble_without_billing<C: CDF16>(
        &mut self,
        nibble: &mut u8,
        prob: &C
    ) -> ProbRange;
fn close(&mut self) -> DivansResult; fn mov_consume(self) -> Self { ... }
fn drain_or_fill_internal_buffer(
        &mut self,
        input: &mut ReadableBytes,
        output: &mut WritableBytes
    ) -> DivansResult { ... }
fn get_or_put_bit(
        &mut self,
        bit: &mut bool,
        prob_of_false: u8,
        _billing: BillingDesignation
    ) { ... }
fn get_or_put_nibble<C: CDF16>(
        &mut self,
        nibble: &mut u8,
        prob: &C,
        _billing: BillingDesignation
    ) -> ProbRange { ... } }

Required Methods

Provided Methods

Implementors