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

std/io/read_all.ts

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

Functions

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

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