import { msgpack } from "https://deno.land/x/s3si@gui-v0.4.16/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]