Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/proc/legacy/deps.ts>BufWriter.create

A high-level way to run child processes that is easy, flexible, powerful, and prevents resource leaks.
Go to Latest
method BufWriter.create
import { BufWriter } from "https://deno.land/x/proc@0.20.15/legacy/deps.ts";

return new BufWriter unless writer is BufWriter

Parameters

writer: Writer
optional
size: number = [UNSUPPORTED]