Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
In MsgStreamer.write(ByteBuffer) the while loop can end up copying part of the ByteBuffer being written to "this.buffer" and then the rest of it to "overflowBuf".
It is probably better (for sure if the overflowBuf will have doNotCopy=true) to just write the entire ByteBuffer to the overflowBuf instead of splitting it up.