function toLines
toLines(buffs: AsyncIterable<Uint8Array>): AsyncIterable<string>

Convert an AsyncIterable<Uint8Array> into an AsyncIterable<string> of lines.

Parameters

buffs: AsyncIterable<Uint8Array>

The iterable bytes.

Return Type

AsyncIterable<string>

Usage

import { toLines } from ".";