Skip to main content
Module

x/proc/mod1.ts>readerToBytes

A high-level way to run child processes that is easy, flexible, powerful, and prevents resource leaks.
Go to Latest
function readerToBytes
import { readerToBytes } from "https://deno.land/x/proc@0.20.21/mod1.ts";

Efficiently transform a Reader to an AsyncIterableIterator<Uint8Array>.

Parameters

The reader.

optional
bufSize = [UNSUPPORTED]

The buffer size.

Returns

AsyncIterableIterator<Uint8Array>