[][src]Struct xbinary::XBRead

pub struct XBRead { /* fields omitted */ }

Implementations

impl XBRead[src]

pub fn new(buff: Bytes) -> XBRead[src]

pub fn read_bit7_u16(&self) -> (usize, u16)[src]

pub fn read_bit7_i16(&self) -> (usize, i16)[src]

pub fn read_bit7_u32(&self) -> (usize, u32)[src]

pub fn read_bit7_i32(&self) -> (usize, i32)[src]

pub fn read_bit7_u64(&self) -> (usize, u64)[src]

pub fn read_bit7_i64(&self) -> (usize, i64)[src]

pub fn read_string_bit7_len(&mut self) -> Option<String>[src]

pub fn read_vec_bit7_len(&mut self) -> Option<Vec<u8>>[src]

pub fn read_string_u32_le(&mut self) -> Option<String>[src]

pub fn read_vec_u32_le(&mut self) -> Option<Vec<u8>>[src]

pub fn read_string(&mut self, len: usize) -> String[src]

pub fn read_vec(&mut self, len: usize) -> Vec<u8>[src]

Trait Implementations

impl AsRef<[u8]> for XBRead[src]

impl Buf for XBRead[src]

impl Deref for XBRead[src]

type Target = [u8]

The resulting type after dereferencing.

Auto Trait Implementations

impl RefUnwindSafe for XBRead

impl Send for XBRead

impl Sync for XBRead

impl Unpin for XBRead

impl UnwindSafe for XBRead

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<B> BufExt for B where
    B: Buf + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.