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

x/hex/src/generator/deps.ts>streams.readerFromStreamReader

An ecosystem delivering practices, philosophy and portability.
Go to Latest
function streams.readerFromStreamReader
import { streams } from "https://deno.land/x/hex@0.5.15/src/generator/deps.ts";
const { readerFromStreamReader } = streams;

Create a Reader from a ReadableStreamDefaultReader.

Parameters

streamReader: ReadableStreamDefaultReader<Uint8Array>

Returns

Deno.Reader