Trait PiRead

Source
pub trait PiRead<E: Endianness>: BitRead<E> + RiceRead<E> {
    // Provided method
    fn read_pi(&mut self, k: usize) -> Result<u64, Self::Error> { ... }
}
Expand description

Trait for reading π codes.

This is the trait you should pull in scope to read π codes.

Provided Methods§

Source

fn read_pi(&mut self, k: usize) -> Result<u64, Self::Error>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<E: Endianness, B: BitRead<E> + RiceRead<E> + ?Sized> PiRead<E> for B