Skip to main content
Latest
method Bson.Binary.prototype.read
import { Bson } from "https://deno.land/x/exodus@0.1.8/deps.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.