Skip to main content
Module

x/proc/mod2.ts>bytes

A high-level way to run child processes that is easy, flexible, powerful, and prevents resource leaks.
Go to Latest
function bytes
import { bytes } from "https://deno.land/x/proc@0.20.20/mod2.ts";

Convert text data into UTF8-encoded bytes.

Parameters

input: ReadableStream<string>

Text data, either chunked or as lines.

optional
options: { chunked?: boolean; }

Options.