Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface WriteStream

Writable stream. Data can be written to stream.

Hierarchy

Index

Properties

Methods

Properties

Readonly ended

ended: boolean

Indicate current stream is ended or not

Methods

close

  • close(): void

write

  • write(data: Uint8Array): Promise<number>
  • Write data. Written size is always same as data.byteLength, unless the stream ends during writing.

    Parameters

    • data: Uint8Array

    Returns Promise<number>

    Written size

Generated using TypeDoc