mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 03:57:15 +02: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:
committed by
Andreas Kling
parent
eab20129b9
commit
673329e1bd
Notes:
sideshowbarker
2024-07-17 08:45:34 +09:00
Author: https://github.com/shannonbooth Commit: https://github.com/SerenityOS/serenity/commit/673329e1bd Pull-request: https://github.com/SerenityOS/serenity/pull/22027
@@ -1,3 +1,6 @@
|
||||
About to read! [object ReadableStreamBYOBReader]
|
||||
About to read into Uint8Array with [object ReadableStreamBYOBReader]
|
||||
Total bytes: 34
|
||||
'This is some data to be read! 🦬'
|
||||
About to read into DataView with [object ReadableStreamBYOBReader]
|
||||
Total bytes: 34
|
||||
'This is some data to be read! 🦬'
|
||||
|
||||
Reference in New Issue
Block a user