Struct bitsparrow::Decoder
[−]
[src]
pub struct Decoder<'a> { // some fields omitted }
pub struct Decoder<'a> { // some fields omitted }
impl<'a> Decoder<'a>
[src]fn new(data: &[u8]) -> Decoder
fn uint8(&mut self) -> Result<u8, Error<'a>>
fn uint16(&mut self) -> Result<u16, Error<'a>>
fn uint32(&mut self) -> Result<u32, Error<'a>>
fn int8(&mut self) -> Result<i8, Error<'a>>
fn int16(&mut self) -> Result<i16, Error<'a>>
fn int32(&mut self) -> Result<i32, Error<'a>>
fn float32(&mut self) -> Result<f32, Error<'a>>
fn float64(&mut self) -> Result<f64, Error<'a>>
fn bool(&mut self) -> Result<bool, Error<'a>>
fn size(&mut self) -> Result<usize, Error<'a>>
fn blob(&mut self) -> Result<Vec<u8>, Error<'a>>
fn string(&mut self) -> Result<String, Error<'a>>