pub fn decode_with_fast_schema<T: DeserializeOwned + Send, B: AsRef<[u8]> + Sync>(
schema: &Schema,
binary_records: &[B],
) -> Result<Vec<T>, KineticaError>Decodes binary Avro records using a pre-parsed serde_avro_fast schema.
This is equivalent to decode_records but accepts the schema by reference. Useful when decoding multiple batches with the same schema to avoid repeated schema parsing.