Skip to main content
Module

x/cookiedb/deps.ts>deserialize

A byte sized database for everyone
Go to Latest
function deserialize
import { deserialize } from "https://deno.land/x/cookiedb@0.4.0/deps.ts";

Deserialize data as BSON.

Parameters

buffer: Uint8Array | ArrayBuffer
  • the buffer containing the serialized set of BSON documents.
optional
options: DeserializeOptions = [UNSUPPORTED]

Returns

Document

returns the deserialized Javascript Object.