jarle/bun-skills/bun-guides-binary-typedarray-to-readablestream
Claude Code and agent skill by jarle/bun-skills
- community
Checking that the SKILL.md file is still in the repository.
Convert a Uint8Array to a ReadableStream
Install
npx vskill@latest install jarle/bun-skills/bun-guides-binary-typedarray-to-readablestreamSKILL.md
The same SKILL.md was published earlier as jarle/bun-skills/bun-guides-binary-typedarray-to-readablestream.
Convert a Uint8Array to a ReadableStream
The naive approach to creating a `ReadableStream` from a `Uint8Array` is to use the `ReadableStream` constructor and enqueue the entire array as a single chunk. For larger chunks, this may be undesirable as it isn't actually "streaming" the data.
To stream the data in smaller chunks, first create a Blob instance from the Uint8Array. Then use the `Blob.stream()` method to create a ReadableStream that streams the data in chunks of a specified size.
The chunk size can be set by passing a number to the .stream() method.
See Docs > API > Binary Data for complete documentation on manipulating binary data with Bun.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/bun-guides-binary-typedarray-to-readablestream/SKILL.md
Popularity
- Repository stars
- 9
- Repository forks
- 1
- 7-day trend score
- 17
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/jarle/bun-skills/bun-guides-binary-typedarray-to-readablestream)