Trait zebra_chain::serialization::WriteZcashExt
source · pub trait WriteZcashExt: Write {
// Provided methods
fn write_32_bytes(&mut self, bytes: &[u8; 32]) -> Result<()> { ... }
fn write_64_bytes(&mut self, bytes: &[u8; 64]) -> Result<()> { ... }
}
Expand description
Extends Write
with methods for writing Zcash/Bitcoin types.
Provided Methods§
Implementors§
impl<W: Write + ?Sized> WriteZcashExt for W
Mark all types implementing Write
as implementing the extension.