[][src]Trait nt_leb128::read::LEB128Read

pub trait LEB128Read {
    fn read_signed(&mut self) -> Result<(i64, usize), Error>;
fn read_unsigned(&mut self) -> Result<(u64, usize), Error>; }

Trait for reading signed and unsigned LEB128 encoded numbers

Required methods

fn read_signed(&mut self) -> Result<(i64, usize), Error>

Read a signed LEB128 number from the given std::io::Readable and return it or an error if reading failed.

fn read_unsigned(&mut self) -> Result<(u64, usize), Error>

Read an unsigned LEB128 number from the given std::io::Readable and return it or an error if reading failed.

Loading content...

Implementors

impl<R> LEB128Read for R where
    R: Buf
[src]

Loading content...