Skip to main content

uint8array utilities

This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
94%
Published
3 days ago (1.0.1)
variable allocUnsafe

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";