Trait crockford::Write
[−]
[src]
pub trait Write { fn write(&mut self, u: u8); }
Represents writable buffer capable of receiving encoded data.
Write is implemented on Vec<u8>
and String
, but you are free to implement it on your own
types. One conceivable purpose would be to allow for lowercase encoding output by inverting
the cap bit before writing.