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.

Required methods

Add 1 byte to the code section.

Add 2 bytes to the code section.

Add 4 bytes to the code section.

Add 8 bytes to the code section.

Implementations on Foreign Types

Provide a convenient implementation for testing.

Implementors