This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The ReadableStreamDefaultReader
interface of the Streams API represents a BYOB ("bring your own buffer") reader that can be used to read stream data supplied by the developer (e.g. a custom ReadableStream.ReadableStream()
constructor).
ReadableStreamBYOBReader()
ReadableStreamBYOBReader()
object instance.ReadableStreamBYOBReader.closed
ReadableStreamBYOBReader.cancel()
ReadableStreamBYOBReader.read()
ReadableStreamBYOBReader.releaseLock()
TBD.
Specification | Status | Comment |
---|---|---|
Streams The definition of 'ReadableStreamBYOBReader' in that specification. | Living Standard | Initial definition |
Desktop | ||||||
---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | |
Basic support | No | No | No | No | No | No |
ReadableStreamBYOBReader() constructor
|
No | No | No | No | No | No |
closed
|
No | No | No | No | No | No |
cancel
|
No | No | No | No | No | No |
read
|
No | No | No | No | No | No |
releaseLock
|
No | No | No | No | No | No |
Mobile | |||||||
---|---|---|---|---|---|---|---|
Android webview | Chrome for Android | Edge Mobile | Firefox for Android | Opera for Android | iOS Safari | Samsung Internet | |
Basic support | No | No | No | No | No | No | ? |
ReadableStreamBYOBReader() constructor
|
No | No | No | No | No | No | ? |
closed
|
No | No | No | No | No | No | ? |
cancel
|
No | No | No | No | No | No | ? |
read
|
No | No | No | No | No | No | ? |
releaseLock
|
No | No | No | No | No | No | ? |
© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamBYOBReader