pub fn serialize<T: Serialize>(value: &T) -> Vec<u8> ⓘ
Serializes a type using the standard zkgroup encoding (based on bincode).