mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-03-02 11:34:19 +00:00
AK: Allow specifying writability of a FixedMemoryStream
This commit is contained in:
committed by
Tim Schumacher
parent
644d9c784d
commit
bbeabe929b
@@ -12,8 +12,9 @@
|
||||
|
||||
namespace AK {
|
||||
|
||||
FixedMemoryStream::FixedMemoryStream(Bytes bytes)
|
||||
FixedMemoryStream::FixedMemoryStream(Bytes bytes, bool writing_enabled)
|
||||
: m_bytes(bytes)
|
||||
, m_writing_enabled(writing_enabled)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user