Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/hex/src/data/deps.ts>mongo.Long.fromBits

An ecosystem delivering practices, philosophy and portability.
Go to Latest
method mongo.Long.fromBits
Re-export
import { mongo } from "https://deno.land/x/hex@0.5.15/src/data/deps.ts";
const { Long } = mongo;

Returns a Long representing the 64 bit integer that comes by concatenating the given low and high bits. Each is assumed to use 32 bits.

Parameters

lowBits: number
  • The low 32 bits
highBits: number
  • The high 32 bits
optional
unsigned: boolean
  • Whether unsigned or not, defaults to signed

Returns

The corresponding Long value