Core: Update Stream interface
Add Open Mode to Stream level, Add IsReadable() and IsWritable() Former-commit-id: 0da5fa798c0f3bd3bf1545cb57f6bc923b222de8
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
namespace Nz
|
||||
{
|
||||
MemoryStream::MemoryStream(const void* ptr, UInt64 size) :
|
||||
Stream(OpenMode_ReadOnly),
|
||||
m_ptr(reinterpret_cast<const UInt8*>(ptr)),
|
||||
m_pos(0),
|
||||
m_size(size)
|
||||
|
||||
Reference in New Issue
Block a user