Struct bitsparrow::Decoder [] [src]

pub struct Decoder {
    // some fields omitted
}

Methods

impl Decoder
[src]

fn new(data: Vec<u8>) -> Decoder

fn uint8(&mut self) -> Result<u8Error>

fn uint16(&mut self) -> Result<u16Error>

fn uint32(&mut self) -> Result<u32Error>

fn int8(&mut self) -> Result<i8Error>

fn int16(&mut self) -> Result<i16Error>

fn int32(&mut self) -> Result<i32Error>

fn float32(&mut self) -> Result<f32Error>

fn float64(&mut self) -> Result<f64Error>

fn bool(&mut self) -> Result<boolError>

fn size(&mut self) -> Result<usizeError>

fn blob(&mut self) -> Result<Vec<u8>, Error>

fn string(&mut self) -> Result<StringError>