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

x/aether/deps.ts>Bson.deserialize

A Deno library to interface with the Discord API
Latest
function Bson.deserialize
import { Bson } from "https://deno.land/x/aether@v0.0.3/deps.ts";
const { deserialize } = Bson;

Deserialize data as BSON.

Parameters

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

Returns

returns the deserialized Javascript Object.