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

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

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

Create a Writer from a WritableStreamDefaultWriter.

Parameters

streamWriter: WritableStreamDefaultWriter<Uint8Array>

Returns

Deno.Writer