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

x/mtkruto/utilities/0_buffer.ts>bufferFromBigInt

An attempt to write a Deno-native MTProto client
Go to Latest
function bufferFromBigInt
import { bufferFromBigInt } from "https://deno.land/x/mtkruto@0.0.62/utilities/0_buffer.ts";

Parameters

bigIntVar: bigint | number
bytesNumber: number
optional
little = [UNSUPPORTED]
optional
signed = [UNSUPPORTED]