mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:47:36 +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
|
@ -31,7 +31,7 @@ Result<NonnullOwnPtr<MP3LoaderPlugin>, LoaderError> MP3LoaderPlugin::try_create(
|
|||
|
||||
Result<NonnullOwnPtr<MP3LoaderPlugin>, LoaderError> MP3LoaderPlugin::try_create(Bytes buffer)
|
||||
{
|
||||
auto stream = LOADER_TRY(Core::Stream::MemoryStream::construct(buffer));
|
||||
auto stream = LOADER_TRY(Core::Stream::FixedMemoryStream::construct(buffer));
|
||||
auto loader = make<MP3LoaderPlugin>(move(stream));
|
||||
|
||||
LOADER_TRY(loader->initialize());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue