pub trait PiRead<E: Endianness>: BitRead<E> {
// Required methods
fn read_pi(&mut self, k: usize) -> Result<u64, Self::Error>;
fn read_pi2(&mut self) -> Result<u64, Self::Error>;
}Expand description
Trait for reading π codes.
This is the trait you should usually pull in scope to read π codes.
Required Methods§
fn read_pi(&mut self, k: usize) -> Result<u64, Self::Error>
fn read_pi2(&mut self) -> 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.