import { msgpack } from "https://deno.land/x/s3si@v0.1.8/deps.ts";
const { decode } = msgpack;
It decodes a MessagePack-encoded buffer.
This is a synchronous decoding function. See other variants for asynchronous decoding: decodeAsync()
, decodeStream()
, decodeArrayStream()
.
Parameters
optional
options: DecodeOptions<SplitUndefined<ContextType>> = [UNSUPPORTED]