BufExt

Trait BufExt 

Source
pub trait BufExt: Buf {
    // Provided methods
    fn get_usize(&mut self) -> usize { ... }
    fn get_isize(&mut self) -> isize { ... }
}
Expand description

Extend Buf with get_isize() and get_usize().

Provided Methods§

Source

fn get_usize(&mut self) -> usize

Gets an usize from self in big-endian byte order and advance the current position.

Source

fn get_isize(&mut self) -> isize

Gets an isize from self in big-endian byte order and advance the current position.

Implementors§

Source§

impl<T: Buf> BufExt for T