mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:04:59 +00:00
AK: Allow specifying writability of a FixedMemoryStream
This commit is contained in:
parent
644d9c784d
commit
bbeabe929b
2 changed files with 3 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue