import { msgpack } from "https://deno.land/x/s3si@v0.1.8/deps.ts";
const { ExtensionCodec } = msgpack;
Properties
private
readonly
builtInDecoders: Array<ExtensionDecoderType<ContextType> | undefined | null>private
readonly
builtInEncoders: Array<ExtensionEncoderType<ContextType> | undefined | null>private
readonly
decoders: Array<ExtensionDecoderType<ContextType> | undefined | null>private
readonly
encoders: Array<ExtensionEncoderType<ContextType> | undefined | null>optional
__brand: ContextTypeMethods
decode(): unknown
register(unnamed 0: { type: number; encode: ExtensionEncoderType<ContextType>; decode: ExtensionDecoderType<ContextType>; }): void
tryToEncode(object: unknown, context: ContextType): ExtData | null
Static Properties
readonly
defaultCodec: ExtensionCodecType<undefined>