Trait VByteBeWrite

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

Trait for write 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 write_vbyte_be(&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>> VByteBeWrite<E> for B