1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:17:34 +00:00

LibWeb: Implement AO ReadableStreamByobReaderRead

We've finally implemented enough of the Streams AOs so that we are close
to actually performing read operations with BYOB readers.
This commit is contained in:
Shannon Booth 2023-11-19 12:34:25 +13:00 committed by Andreas Kling
parent 3d37cb0753
commit 9662872b20
2 changed files with 23 additions and 0 deletions

View file

@ -55,6 +55,7 @@ void readable_stream_default_reader_error_read_requests(ReadableStreamDefaultRea
void readable_stream_byob_reader_error_read_into_requests(ReadableStreamBYOBReader&, JS::Value error);
JS::Value readable_byte_stream_controller_convert_pull_into_descriptor(JS::Realm&, PullIntoDescriptor const&);
void readable_byte_stream_controller_pull_into(ReadableByteStreamController&, JS::Value view_value, ReadIntoRequest&);
void readable_stream_byob_reader_read(ReadableStreamBYOBReader&, JS::Value view, ReadIntoRequest&);
void readable_byte_stream_controller_fill_head_pull_into_descriptor(ReadableByteStreamController const&, u64 size, PullIntoDescriptor&);
WebIDL::ExceptionOr<void> readable_stream_default_reader_read(ReadableStreamDefaultReader&, ReadRequest&);