Core: Merge InputStream and OutputStream to Stream
Remove serialization support from Stream Former-commit-id: 7a761e4fcd07cab561f13e4709c4492ed18da88a
This commit is contained in:
@@ -59,6 +59,13 @@ namespace Nz
|
||||
return m_array.back();
|
||||
}
|
||||
|
||||
inline void ByteArray::Clear(bool keepBuffer)
|
||||
{
|
||||
m_array.clear();
|
||||
if (!keepBuffer)
|
||||
m_array.shrink_to_fit();
|
||||
}
|
||||
|
||||
inline ByteArray::iterator ByteArray::Erase(const_iterator pos)
|
||||
{
|
||||
return m_array.erase(pos);
|
||||
|
||||
Reference in New Issue
Block a user