Module

x/web_bson/mod.d.ts>Long.fromBytes

web_bson is a fork from mongodb/js-bson
Very Popular
Latest
method Long.fromBytes
import { Long } from "https://dotland.deno.dev/x/web_bson@v0.3.0/mod.d.ts";

Creates a Long from its byte representation.

Parameters

bytes: number[]
  • Byte representation
optional
unsigned: boolean
  • Whether unsigned or not, defaults to signed
optional
le: boolean
  • Whether little or big endian, defaults to big endian

Returns

The corresponding Long value