Make it possible for the Buffer wrapper to detect the length of a raw string if the requested length is negative.

This commit is contained in:
Sandu Liviu Catalin
2017-06-16 02:24:19 +03:00
parent f048950d20
commit 957ba97a33
2 changed files with 21 additions and 2 deletions
+1 -1
View File
@@ -779,7 +779,7 @@ public:
/* --------------------------------------------------------------------------------------------
* Read a raw string from the buffer.
*/
Object ReadRawString(Uint32 len);
Object ReadRawString(SQInteger length);
/* --------------------------------------------------------------------------------------------
* Read a AABB from the buffer.