zebra_chain::serialization::zcash_serialize

Function zcash_serialize_bytes_external_count

source
pub fn zcash_serialize_bytes_external_count<W: Write>(
    vec: &Vec<u8>,
    writer: W,
) -> Result<(), Error>
Expand description

Serialize a raw byte Vec without writing the number of items as a CompactSize.

This is a convenience alias for writer.write_all(&vec).