Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/s3si/deps.ts>msgpack.decode

Export your battles from SplatNet to stat.ink
Go to Latest
function msgpack.decode
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().

Type Parameters

ContextType

Parameters

buffer: ArrayLike<number> | ArrayBuffer
optional
options: DecodeOptions<SplitUndefined<ContextType>> = [UNSUPPORTED]

Returns

unknown