Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
6 results across 6 corpora for ReadableStreamBYOBRequest.
Developer library 6
Firefox 102 release notes for developers
erlying byte source to a consumer (bypassing the stream's internal queues). The new interfaces are ReadableStreamBYOBReader, ReadableByteStreamController and ReadableStreamBYOBRequest ([Firefox bug 1767342](https://bugzil.la/1767342)). ### Security - Support of the [`wasm-unsafe-eval`](/docs/Web/HTTP/Reference/Headers/Content-Security-Policy/script-src#unsafe_webassembly_execution) CSP policy directive has been i
ReadableByteStreamController
docs/Web/API/ReadableByteStreamController/byobRequest) property or [`enqueue()`](/docs/Web/API/ReadableByteStreamController/enqueue) method. `byobRequest` is a ReadableStreamBYOBRequest object that represents a pending request from a consumer to make a zero-copy transfer of data direct to a consumer. `byobRequest` must be used to copy data if it exists (do not use `enqueue()` in this case)! If the underlying source n
ReadableByteStreamController: byobRequest property
xists (rather than using ReadableByteStreamController.enqueue()). This will result in an efficient zero-byte transfer of the data to the consumer. ## Value A ReadableStreamBYOBRequest object instance, or `null`. ## Examples The example in [Using readable byte streams > Creating a readable socket push byte stream](/docs/Web/API/Streams_API/Using_readable_byte_streams#creating_a_readable_socket_push_byte_stream) sh
ReadableStreamBYOBRequest
Streams The **`ReadableStreamBYOBRequest`** interface of the [Streams API](/docs/Web/API/Streams_API) represents a "pull request" for data from an underlying source that will be made as a zero-copy transfer to a consumer (bypassing the stream's internal queues). `ReadableStreamBYOBRequest` objects are created in "BYOB mode" when a consumer makes a request for data and the stream's internal queue is _empty_. (The st
ReadableStreamBYOBRequest: view property
Streams The **`view`** getter property of the ReadableStreamBYOBRequest interface returns the current view. ## Value A [`Uint8Array`](/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array) [typed array](/docs/Web/JavaScript/Guide/Typed_arrays) representing the destination region to which the controller can write generated data. `null` if the request has already been responded to, by calling ReadableStreamBYOBR
ReadableStreamBYOBRequest: respondWithNewView() method
Streams The **`respondWithNewView()`** method of the ReadableStreamBYOBRequest interface specifies a new view that the consumer of the associated readable byte stream should write to instead of ReadableStreamBYOBRequest.view. The new view must be a TypedArray or a DataView that provides a view onto the same backing memory region as ReadableStreamBYOBRequest.view. After this method is called, the view that was passe