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

Serialize a byte vector as a CompactSize number of items, then the items.

§Correctness

Most Zcash types have specific rules about serialization of Vec<u8>s. Check the spec and consensus rules before using this function.

See zcash_serialize_bytes_external_count for more details, and usage information.