MemoryStream默认长度为0
This commit is contained in:
parent
cd37894edc
commit
0a0648530d
|
@ -320,6 +320,7 @@ bool Stream::Write(UInt64 value)
|
|||
|
||||
MemoryStream::MemoryStream(uint len) : Stream(_Arr, ArrayLength(_Arr))
|
||||
{
|
||||
Length = 0;
|
||||
_needFree = false;
|
||||
if(len > ArrayLength(_Arr))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue