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.