Skip to main content
Module

x/proc/mod3.ts>Uint8Enumerable

A high-level way to run child processes that is easy, flexible, powerful, and prevents resource leaks.
Go to Latest
class Uint8Enumerable
extends Enumerable<Uint8Array>
Re-export
import { Uint8Enumerable } from "https://deno.land/x/proc@0.20.17/mod3.ts";

Enumerable which may be substituted when we know we are returning Uint8Array data.

Constructors

new
Uint8Enumerable(iter: AsyncIterable<Uint8Array>)

Properties

readonly
chunkedLines: Enumerable<string[]>

Convert the output to arrays of text lines. Each array will be similar in size to the input byte data that was converted.

readonly
lines: Enumerable<string>

Convert the output to text lines.

Note that this should probably only be used with small data. Consider chunkedLines to improve performance with larger data.