Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/atlas_sdk/deps.ts>Binary#write

TypeSafe MongoDB Atlas Data API SDK for Deno, Deno Deploy and Node.js
Latest
method Binary.prototype.write
import { Binary } from "https://deno.land/x/atlas_sdk@v1.1.3/deps.ts";

Writes a buffer or string to the binary.

Parameters

sequence: string | BinarySequence
  • a string or buffer to be written to the Binary BSON object.
offset: number
  • specify the binary of where to write the content.