[][src]Trait vlq_rust::Vlq

pub trait Vlq: Sized {
    fn from_reader<R: Read>(reader: &mut R) -> Result<Self>;
fn to_writer<W: Write>(self, writer: &mut W) -> Result<()>; }

Trait applied to all types that can be encoded as VLQ's.

Required methods

fn from_reader<R: Read>(reader: &mut R) -> Result<Self>

Read a variable-length quantity from a reader.

fn to_writer<W: Write>(self, writer: &mut W) -> Result<()>

Write this variable-length quantity to a writer.

Loading content...

Implementations on Foreign Types

impl Vlq for i8[src]

impl Vlq for i16[src]

impl Vlq for i32[src]

impl Vlq for i64[src]

impl Vlq for i128[src]

impl Vlq for isize[src]

impl Vlq for u8[src]

impl Vlq for u16[src]

impl Vlq for u32[src]

impl Vlq for u64[src]

impl Vlq for u128[src]

impl Vlq for usize[src]

Loading content...

Implementors

Loading content...