Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/kwik/deps.ts>msgpack.decodeMulti

Kwik is a deno database using messagepack files.
Go to Latest
function msgpack.decodeMulti
Re-export
import { msgpack } from "https://deno.land/x/kwik@v1.2.3/deps.ts";
const { decodeMulti } = msgpack;

It decodes multiple MessagePack objects in a buffer. This is corresponding to decodeMultiStream().

Type Parameters

optional
ContextType = undefined

Parameters

buffer: ArrayLike<number> | BufferSource
optional
options: DecodeOptions<SplitUndefined<ContextType>>

Returns

Generator<unknown, void, unknown>