Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/openpgp/src/crypto/biginteger.ts>bigIntToUint8Array

OpenPGP implementation for JavaScript
Go to Latest
function bigIntToUint8Array
import { bigIntToUint8Array } from "https://deno.land/x/openpgp@v6.0.0-beta.1/src/crypto/biginteger.ts";

Get Uint8Array representation of this number

Parameters

x: bigint
  • Endianess of output array (defaults to 'be')
optional
endian = [UNSUPPORTED]
  • Of output array
length: number