Uint16BE(int: number | string): TypeError | Uint8Array
convert an integer value below 65536 (16 bits or 2 bytes) to Uint8Array
Javascript library to manipulate Uint8Array using concat, get8Uint, Uint8BE, etc
Uint16BE(int: number | string): TypeError | Uint8Array
convert an integer value below 65536 (16 bits or 2 bytes) to Uint8Array
Add Package
deno add jsr:@aicone/byte
Import symbol
import { Uint16BE } from "@aicone/byte";
---- OR ----
Import directly with a jsr specifier
import { Uint16BE } from "jsr:@aicone/byte";
Add Package
npx jsr add @aicone/byte
Import symbol
import { Uint16BE } from "@aicone/byte";
Add Package
yarn dlx jsr add @aicone/byte
Import symbol
import { Uint16BE } from "@aicone/byte";
Add Package
pnpm dlx jsr add @aicone/byte
Import symbol
import { Uint16BE } from "@aicone/byte";
Add Package
bunx jsr add @aicone/byte
Import symbol
import { Uint16BE } from "@aicone/byte";