creates an Uint8Array of the requested size, where the contents may not be zeroed out. only use if you're certain that the contents will be overwritten
Add Package
deno add jsr:@atcute/uint8array
Import symbol
import { allocUnsafe } from "@atcute/uint8array";
---- OR ----
Import directly with a jsr specifier
import { allocUnsafe } from "jsr:@atcute/uint8array";
Add Package
npx jsr add @atcute/uint8array
Import symbol
import { allocUnsafe } from "@atcute/uint8array";
Add Package
yarn dlx jsr add @atcute/uint8array
Import symbol
import { allocUnsafe } from "@atcute/uint8array";
Add Package
pnpm dlx jsr add @atcute/uint8array
Import symbol
import { allocUnsafe } from "@atcute/uint8array";
Add Package
bunx jsr add @atcute/uint8array
Import symbol
import { allocUnsafe } from "@atcute/uint8array";