Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/streams/read_all.ts

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
import * as mod from "https://deno.land/std@0.196.0/streams/read_all.ts";

Functions

Read Reader r until EOF (null) and resolve to the content as Uint8Array`.

Synchronously reads Reader r until EOF (null) and returns the content as Uint8Array.