enqueue method

void enqueue(
  1. ArrayBufferView chunk
)

The enqueue() method of the ReadableByteStreamController interface enqueues a given chunk on the associated readable byte stream (the chunk is copied into the stream's internal queues).

This should only be used to transfer data to the queue when ReadableByteStreamController.byobRequest is null.

Implementation

external void enqueue(ArrayBufferView chunk);