mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 01:29:17 +00:00
LibWeb: Refactor {Dec,C}ompressionStream
to handle split chunks
This commit is contained in:
parent
2b3934e34e
commit
e02521911a
Notes:
github-actions[bot]
2025-03-19 12:48:02 +00:00
Author: https://github.com/devgianlu
Commit: e02521911a
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3755
Reviewed-by: https://github.com/gmta ✅
Reviewed-by: https://github.com/trflynn89
4 changed files with 90 additions and 83 deletions
|
@ -44,8 +44,6 @@ private:
|
|||
WebIDL::ExceptionOr<void> decompress_and_enqueue_chunk(JS::Value);
|
||||
WebIDL::ExceptionOr<void> decompress_flush_and_enqueue();
|
||||
|
||||
ErrorOr<ByteBuffer> decompress(ReadonlyBytes);
|
||||
|
||||
Decompressor m_decompressor;
|
||||
NonnullOwnPtr<AllocatingMemoryStream> m_input_stream;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue