acir::serialization

Function proto_serialize

Source
pub(crate) fn proto_serialize<F, T, R>(value: &T) -> Vec<u8> 
where F: AcirField, R: Message, ProtoSchema<F>: ProtoCodec<T, R>,
Expand description

Serialize a value using protobuf.

This format is forwards and backwards compatible, but requires code generation based on .proto schemas.