Trait hash40::WriteHash40
source · pub trait WriteHash40: WriteBytesExt {
// Required methods
fn write_hash40<T: ByteOrder>(&mut self, hash: Hash40) -> Result<(), Error>;
fn write_hash40_with_meta<T: ByteOrder>(
&mut self,
hash: Hash40,
meta: u32
) -> Result<(), Error>;
}
Expand description
An extension of the byteorder trait, to write a Hash40 into a stream