import { msgpack } from "https://deno.land/x/kwik@v1.2.3/deps.ts";
const { decode } = msgpack;
It decodes a single MessagePack object in a buffer.
This is a synchronous decoding function. See other variants for asynchronous decoding: decodeAsync(), decodeStream(), or decodeArrayStream().
Parameters
buffer: ArrayLike<number> | BufferSource
optional
options: DecodeOptions<SplitUndefined<ContextType>>