Trait tsz::stream::Write [] [src]

pub trait Write {
    fn write_bit(&mut self, bit: Bit);
    fn write_byte(&mut self, byte: u8);
    fn write_bits(&mut self, bits: u64, num: u32);
    fn close(self) -> Box<[u8]>;
}

Write

Write is a trait that encapsulates the functionality required to write a stream of bytes.

Required Methods

Implementors