pub trait Writer {
fn write(&mut self, slice: &[u8]) -> Result<()>;
fn write_byte(&mut self, byte: u8) -> Result<()> { ... }
}
Expand description
Writer trait which outputs encoded DER.
Required Methods
Provided Methods
fn write_byte(&mut self, byte: u8) -> Result<()>
fn write_byte(&mut self, byte: u8) -> Result<()>
Write a single byte.