@qualithm/kafka-client - v0.1.6
    Preparing search index...

    Type Alias AvroSchema

    A parsed Avro schema with encode/decode capabilities.

    Returned by AvroCodec.parse after parsing a schema JSON string. Implementations should cache any internal parsing state.

    type AvroSchema = {
        decode: (data: Uint8Array) => unknown;
        encode: (value: unknown) => Uint8Array;
    }
    Index

    Properties

    Properties

    decode: (data: Uint8Array) => unknown

    Decode Avro binary data to a value.

    encode: (value: unknown) => Uint8Array

    Encode a value to Avro binary format.