mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 08:28:11 +00:00
LibCore: Rename MemoryStream
to FixedMemoryStream
This is to differentiate between the upcoming `AllocatingMemoryStream`, which automatically allocates memory as needed instead of operating on a static memory area.
This commit is contained in:
parent
c4f68bde57
commit
c6d71ca727
11 changed files with 29 additions and 27 deletions
|
@ -309,7 +309,7 @@ void DeflateDecompressor::close()
|
|||
|
||||
ErrorOr<ByteBuffer> DeflateDecompressor::decompress_all(ReadonlyBytes bytes)
|
||||
{
|
||||
auto memory_stream = TRY(Core::Stream::MemoryStream::construct(bytes));
|
||||
auto memory_stream = TRY(Core::Stream::FixedMemoryStream::construct(bytes));
|
||||
DeflateDecompressor deflate_stream { move(memory_stream) };
|
||||
DuplexMemoryStream output_stream;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue