mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 05:39:11 +00:00
LibWeb: Use ArrayBufferView for ReadableStreamBYOBReader
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.
This commit is contained in:
parent
eab20129b9
commit
673329e1bd
Notes:
sideshowbarker
2024-07-17 08:45:34 +09:00
Author: https://github.com/shannonbooth
Commit: 673329e1bd
Pull-request: https://github.com/SerenityOS/serenity/pull/22027
7 changed files with 41 additions and 37 deletions
|
@ -45,7 +45,7 @@ public:
|
|||
|
||||
virtual ~ReadableStreamBYOBReader() override = default;
|
||||
|
||||
WebIDL::ExceptionOr<JS::NonnullGCPtr<JS::Promise>> read(JS::Value);
|
||||
WebIDL::ExceptionOr<JS::NonnullGCPtr<JS::Promise>> read(JS::Handle<WebIDL::ArrayBufferView>&);
|
||||
|
||||
void release_lock();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue