Function snarkvm_utilities::serialize::serialize_vec_without_len
source · pub fn serialize_vec_without_len<'a>(
src: impl Iterator<Item = &'a impl CanonicalSerialize + 'a>,
writer: impl Write,
compress: Compress
) -> Result<(), SerializationError>
Expand description
Serialize a Vector’s elements without serializing the Vector’s length
If you want to serialize the full Vector, use CanonicalSerialize for Vec<T>