import { io } from "https://deno.land/x/s3si@gui-v0.4.20/deps.ts";
const { toReadableStream } = io;
Create a ReadableStream
of Uint8Array
s from a
Reader
.
When the pull algorithm is called on the stream, a chunk from the reader
will be read. When null
is returned from the reader, the stream will be
closed along with the reader (if it is also a Closer
).
Parameters
optional
unnamed 1: ToReadableStreamOptions = [UNSUPPORTED]Returns
ReadableStream<Uint8Array>