Skip to main content
Module

x/atlas_sdk/mod.ts>Bson.Binary

TypeSafe MongoDB Atlas Data API SDK for Deno & Deno Deploy
Go to Latest
class Bson.Binary
Re-export
import { Bson } from "https://deno.land/x/atlas_sdk@v0.1.2/mod.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