Skip to main content
Latest
method Bson.Binary.prototype.write
import { Bson } from "https://deno.land/x/exodus@0.1.8/deps.ts";
const { Binary } = Bson;

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.