mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
Fix WriteString method
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
/*
|
||||
/*
|
||||
* (c) Copyright Ascensio System SIA 2010-2023
|
||||
*
|
||||
* This program is a free software product. You can redistribute it and/or
|
||||
@ -255,7 +255,7 @@ namespace NSMemoryStream
|
||||
{
|
||||
int nLen2 = nLen << 1;
|
||||
CheckBufferSize(nLen2 + sizeof(INT));
|
||||
WriteLONG(nLen);
|
||||
WriteLONG(nLen2);
|
||||
WriteStringTruncate2(pData, nLen2);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user