import { msgpack } from "https://deno.land/x/kwik@v1.2.3/deps.ts";
const { ExtensionCodec } = msgpack;
Properties
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>