mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03:00
673329e1bd
Which means that we now have support for DataViews. Using the ArrayBufferView class also seems to make this read a whole bunch nicer as well.
15 lines
451 B
Plaintext
15 lines
451 B
Plaintext
#import <Streams/ReadableStream.idl>
|
|
#import <Streams/ReadableStreamDefaultReader.idl>
|
|
#import <Streams/ReadableStreamGenericReader.idl>
|
|
|
|
// https://streams.spec.whatwg.org/#readablestreambyobreader
|
|
[Exposed=*]
|
|
interface ReadableStreamBYOBReader {
|
|
constructor(ReadableStream stream);
|
|
|
|
Promise<ReadableStreamReadResult> read(ArrayBufferView view);
|
|
|
|
undefined releaseLock();
|
|
};
|
|
ReadableStreamBYOBReader includes ReadableStreamGenericReader;
|