ark_serialize

Macro serialize_to_vec

Source
macro_rules! serialize_to_vec {
    ($($x:expr),*) => { ... };
    (@inner $buf:expr, $y:expr, $($x:expr),*) => { ... };
    (@inner $buf:expr, $x:expr) => { ... };
}
Expand description

Serializes the given CanonicalSerialize items in sequence. serialize_to_vec![a, b, c, d, e] is identical to the value of buf after (a, b, c, d, e).serialize_compressed(&mut buf).