Trait VByteBeRead

Source
pub trait VByteBeRead<E: Endianness>: BitRead<E> {
    // Required method
    fn read_vbyte_be(&mut self) -> Result<u64, Self::Error>;
}
Expand description

Trait for reading big-endian variable-length byte codes.

Note that the endianess of the code is independent from the endianness of the underlying bit stream.

Required Methods§

Source

fn read_vbyte_be(&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.

Implementors§

Source§

impl<E: Endianness, B: BitRead<E>> VByteBeRead<E> for B