mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 03:07:44 +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
7 changed files with 41 additions and 37 deletions
|
@ -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! 🦬'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue