Skip to main content
Module

x/proc/deps.ts>StringWriter

A high-level way to run child processes that is easy, flexible, powerful, and prevents resource leaks.
Go to Latest
class StringWriter
implements Writer, WriterSync
import { StringWriter } from "https://deno.land/x/proc@0.19.9/deps.ts";

Writer utility for buffering string chunks

Constructors

new
StringWriter(base?: string)

Methods

toString(): string
write(p: Uint8Array): Promise<number>
writeSync(p: Uint8Array): number