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

x/somefn/js/int.ts>intToU8a

some functions for deno
Go to Latest
function intToU8a
import { intToU8a } from "https://deno.land/x/somefn@v0.27.0/js/int.ts";

int(number) to Uint8Array

Parameters

int: number

一个十进制整数.

optional
unnamed 1: { l?: number | "auto"; } = [UNSUPPORTED]

Returns

Uint8Array

一个 Uint8Array 格式的数据.