pub trait ByteSink {
fn put1(&mut self, u8);
fn put2(&mut self, u16);
fn put4(&mut self, u32);
fn put8(&mut self, u64);
}
Expand description
The encoding formats in this module all require a way of placing bytes into a buffer.
pub trait ByteSink {
fn put1(&mut self, u8);
fn put2(&mut self, u16);
fn put4(&mut self, u32);
fn put8(&mut self, u64);
}
The encoding formats in this module all require a way of placing bytes into a buffer.