Function serialize_elements

Source
pub fn serialize_elements<G: Group + GroupEncoding>(elements: &[G]) -> Vec<u8> 
Expand description

Serialize a slice of group elements into a byte vector.

§Parameters

  • elements: A slice of group elements to serialize.

§Returns

  • A Vec<u8> containing the concatenated canonical compressed byte representations.