Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/denodb/deps.ts>Bson.Binary#read

MySQL, SQLite, MariaDB, PostgreSQL and MongoDB ORM for Deno
Latest
method Bson.Binary.prototype.read
import { Bson } from "https://deno.land/x/denodb@v1.4.0/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.