Skip to main content
Module

x/mongo/mod.ts>Bson.Binary#put

MongoDB driver for Deno
Extremely Popular
Go to Latest
method Bson.Binary.prototype.put
import { Bson } from "https://deno.land/x/mongo@v0.31.2/mod.ts";
const { Binary } = Bson;

Updates this binary with byte_value.

Parameters

byteValue:
| string
| number
| Uint8Array
| number[]
  • a single byte we wish to write.