Skip to main content
Module

x/web_bson/src/long.ts>Long#toBytes

web_bson is a fork from mongodb/js-bson
Very Popular
Go to Latest
method Long.prototype.toBytes
import { Long } from "https://deno.land/x/web_bson@v0.2.4/src/long.ts";

Converts this Long to its byte representation.

Parameters

optional
le: boolean
  • Whether little or big endian, defaults to big endian

Returns

number[]

Byte representation