Skip to main content
Module

x/mongo/mod.ts>Binary#read

MongoDB driver for Deno
Very Popular
Go to Latest
method Binary.prototype.read
Re-export
import { Binary } from "https://deno.land/x/mongo@v0.31.2/mod.ts";

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.

Returns

BinarySequence