Interface Codec<T>

interface Codec<T> {
    decode: DecodeFunction<T>;
    encode: EncodeFunction<T>;
    name: string;
    type: CODEC_TYPES;
}

Type Parameters

  • T

Properties

Properties

decode: DecodeFunction<T>
encode: EncodeFunction<T>
name: string