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

x/aether/deps.ts>Bson.Binary

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

Constructors

new
Binary(buffer: Uint8Array, subType?: number)

Properties

_bsontype: string
buffer: Uint8Array
subType: number

Methods

length(): number
toExtendedJSON(options?: EJSONOptions): BinaryExtended
toJSON(): string
toString(): string

Static Methods

fromExtendedJSON(doc: BinaryExtended | UUIDExtended, options?: EJSONOptions): Binary