function writeAll
writeAll(
data: Uint8Array,
writer: Writer,
): Promise<void>

Low level write without locking, writing in multiple chunks if needed.

Data is written completely. Does not attempt to close the writer.

Parameters

The data to write.

writer: Writer

The writer.

Return Type

Promise<void>

Usage

import { writeAll } from ".";