pub trait Writer { // Required method fn write(&mut self, slice: &[u8]) -> Result<()>; // Provided method fn write_byte(&mut self, byte: u8) -> Result<()> { ... } }
Writer trait which outputs encoded DER.
Write the given DER-encoded bytes as output.
If the write operation failed.
Write a single byte.
std