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

x/proc/legacy/runners/handlers/bytes-handlers.ts>BytesInputHandler

A better way to work with processes in Deno.
Go to Latest
class BytesInputHandler
implements InputHandler<Uint8Array>
import { BytesInputHandler } from "https://deno.land/x/proc@0.21.7/legacy/runners/handlers/bytes-handlers.ts";

Source stdin from a Uint8Array. stdin is closed once the data is written.

Properties

readonly
failOnEmptyInput: boolean

Methods

processInput(input: Uint8Array, stdin: MultiCloseWriter): Promise<void>