[][src]Trait integer_encoding::FixedIntReader

pub trait FixedIntReader {
    pub fn read_fixedint<FI: FixedInt>(&mut self) -> Result<FI>;
}

A trait for reading FixedInts from any other Reader.

Required methods

pub fn read_fixedint<FI: FixedInt>(&mut self) -> Result<FI>[src]

Read a fixed integer from a reader. How many bytes are read depends on FI.

On EOF, an io::Error with io::ErrorKind::UnexpectedEof is returned.

Loading content...

Implementors

impl<R: Read> FixedIntReader for R[src]

Loading content...