mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:07:35 +00:00
Everywhere: Pass AK::ReadonlyBytes by value
This commit is contained in:
parent
8b1108e485
commit
80d4e830a0
42 changed files with 96 additions and 96 deletions
|
@ -261,7 +261,7 @@ bool GzipCompressor::write_or_error(ReadonlyBytes bytes)
|
|||
return true;
|
||||
}
|
||||
|
||||
Optional<ByteBuffer> GzipCompressor::compress_all(const ReadonlyBytes& bytes)
|
||||
Optional<ByteBuffer> GzipCompressor::compress_all(ReadonlyBytes bytes)
|
||||
{
|
||||
DuplexMemoryStream output_stream;
|
||||
GzipCompressor gzip_stream { output_stream };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue