Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.13.0
-
None
Description
if you make a call to the write() method with a number bigger than Buffer.MAX_LEN, Buffer.getBytes() will throw an IllegalStateException.
TO DO: investigate further usages of Buffer#getString and Buffer#getBytes and see if any of this bug manifests itself elsewhere and, if so, do we want to migrate the "chunking" logic within Buffer?