Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.20.0/js/int.ts";

int(number) to Uint8Array

Parameters

int: number

一个十进制整数.

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

Returns

Uint8Array

一个 Uint8Array 格式的数据.