Skip to main content
Module

x/web_bson/mod.js>Binary#write

web_bson is a fork from mongodb/js-bson
Very Popular
Latest
method Binary.prototype.write
import { Binary } from "https://deno.land/x/web_bson@v0.3.0/mod.js";

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.