Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/s3si/deps.ts>msgpack.decode

Export your battles from SplatNet to https://stat.ink
Latest
function msgpack.decode
import { msgpack } from "https://deno.land/x/s3si@gui-v0.4.20/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