Skip to main content
pub fn encode_single<T: Serialize>(
    schema: &Schema,
    record: &T,
) -> Result<Vec<u8>, KineticaError>

Encodes a single record to Avro binary format.

Useful for encoding individual records without batch overhead.