Skip to main content
Module

std/io/util.ts

Deno standard library
Go to Latest
import * as mod from "https://deno.land/std@0.93.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).