1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 00:37:45 +00:00

LibWeb: Implement ReadableStreamBYOBReader::read

Similiarly to the underlying AO's, currently only TypedArrays are
supported.
This commit is contained in:
Shannon Booth 2023-11-19 12:44:42 +13:00 committed by Andreas Kling
parent dcb7bb4a92
commit 1daded768d
5 changed files with 138 additions and 1 deletions

View file

@ -44,6 +44,8 @@ public:
virtual ~ReadableStreamBYOBReader() override = default;
WebIDL::ExceptionOr<JS::NonnullGCPtr<JS::Promise>> read(JS::Value);
void release_lock();
Vector<JS::NonnullGCPtr<ReadIntoRequest>>& read_into_requests() { return m_read_into_requests; }