pub trait Write {
// Required method
unsafe fn write(&mut self, u: u8);
}
Expand description
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.
For performance reasons, the default implementation of each of these does not