Skip to main content
Module

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

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

Reads length bytes starting at position.

Parameters

position: number
  • read from the given position in the Binary.
length: number
  • the number of bytes to read.