read
inline suspend fun <T : ArrayBufferView<*>> ReadableStreamBYOBReader.read(view: T): ReadableStreamReadResult<T>(source)
The read()
method of the ReadableStreamBYOBReader interface is used to read data into a view on a user-supplied buffer from an associated readable byte stream.
inline suspend fun <R : JsAny?> ReadableStreamDefaultReader<R>.read(): ReadableStreamReadResult<R>(source)
The read()
method of the ReadableStreamDefaultReader interface returns a Promise providing access to the next chunk in the stream's internal queue.