Skip to main content
The Deno 2 Release Candidate is 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.184.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.