Trait VByteLeWrite

Source
pub trait VByteLeWrite<E: Endianness>: BitWrite<E> {
    // Required method
    fn write_vbyte_le(&mut self, value: u64) -> Result<usize, Self::Error>;
}
Expand description

Trait for write little-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 write_vbyte_le(&mut self, value: u64) -> Result<usize, 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: BitWrite<E>> VByteLeWrite<E> for B