BufMutExt

Trait BufMutExt 

Source
pub trait BufMutExt: BufMut {
    // Provided methods
    fn put_usize(&mut self, v: usize) { ... }
    fn put_isize(&mut self, v: isize) { ... }
}
Expand description

Extend BufMut with put_isize() and put_usize().

Provided Methods§

Source

fn put_usize(&mut self, v: usize)

Writes an usize to self in the big-endian byte order and advance the current position.

Source

fn put_isize(&mut self, v: isize)

Writes an usize to self in the big-endian byte order and advance the current position.

Implementors§

Source§

impl<T: BufMut> BufMutExt for T