Trait ed25519_dalek::pkcs8::spki::der::Writer
pub trait Writer {
// Required method
fn write(&mut self, slice: &[u8]) -> Result<(), Error>;
// Provided method
fn write_byte(&mut self, byte: u8) -> Result<(), Error> { ... }
}
Available on crate feature
pkcs8
only.Expand description
Writer trait which outputs encoded DER.
Required Methods§
Provided Methods§
fn write_byte(&mut self, byte: u8) -> Result<(), Error>
fn write_byte(&mut self, byte: u8) -> Result<(), Error>
Write a single byte.