Function mz_avro::encode::encode_ref

source ยท
pub fn encode_ref(value: &Value, schema: SchemaNode<'_>, buffer: &mut Vec<u8>)
Expand description

Encode a Value into avro format.

NOTE This will not perform schema validation. The value is assumed to be valid with regards to the schema. Schema are needed only to guide the encoding for complex type values.