Factory

Readable Stream: Factory.

Describes constructors available both in guest and host contexts, which create ReadableStream implementation instances. Generally, each implementation has a factory implementation as well, from which instances can be acquired by host-side code, and, where supported, by guest-side code.

Parameters

Impl

Implementation of ReadableStream which is created by this factory.

Inheritors

Functions

Link copied to clipboard
abstract fun empty(): Impl

TBD.

Link copied to clipboard
abstract fun wrap(input: InputStream): Impl
abstract fun wrap(reader: Reader): Impl
abstract fun wrap(buffer: ByteBuffer): Impl
abstract fun wrap(bytes: ByteArray): Impl

TBD.