AgentStack
SKILL verified MIT Self-run

Bun Convert a Blob to a Uint8Array

skill-jarle-bun-skills-bun-guides-binary-blob-to-typedarray · by jarle

Convert a Blob to a Uint8Array

No reviews yet
0 installs
6 views
0.0% view→install

Install

$ agentstack add skill-jarle-bun-skills-bun-guides-binary-blob-to-typedarray

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Bun Convert a Blob to a Uint8Array? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Convert a Blob to a Uint8Array

The Blob class provides a number of methods for consuming its contents in different formats. This snippets reads the contents to an ArrayBuffer, then creates a Uint8Array from the buffer.

```ts theme={"theme":{"light":"github-light","dark":"dracula"}} const blob = new Blob(["hello world"]); const arr = new Uint8Array(await blob.arrayBuffer());


***

See [Docs > API > Binary Data](/runtime/binary-data#conversion) for complete documentation on manipulating binary data with Bun.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [jarle](https://github.com/jarle)
- **Source:** [jarle/bun-skills](https://github.com/jarle/bun-skills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.