Skip to main content
Latest
method Bson.Long.fromBytesBE
import { Bson } from "https://deno.land/x/exodus@0.1.8/deps.ts";
const { Long } = Bson;

Creates a Long from its big endian byte representation.

Parameters

bytes: number[]
  • Big endian byte representation
optional
unsigned: boolean
  • Whether unsigned or not, defaults to signed

Returns

The corresponding Long value