Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

std/io/util.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.94.0/io/util.ts";

Functions

Turns a Reader, r, into an async iterator.

Turns a ReaderSync, r, into an iterator.

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.

Write all the content of the array buffer (arr) to the writer (w).

Synchronously write all the content of the array buffer (arr) to the writer (w).