Function mz_testdrive::format::avro::from_confluent_bytes
source ยท pub fn from_confluent_bytes(
schema: &Schema,
bytes: &[u8],
) -> Result<Value, Error>
Expand description
Decodes an Avro datum from its Confluent-formatted byte representation.
The Confluent format includes a verbsion byte, followed by a 32-bit schema ID, followed by the encoded Avro value. This function validates the version byte but ignores the schema ID.