import { decode } from "https://dotland.deno.dev/x/msgpack@v1.4/mod.ts";
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]