- Return early when the buffer is empty - Keep only the number of byte buffers - Remove unnecessary null check in the loop (because we know buffer is not empty at certain point) |
||
---|---|---|
.. | ||
src | ||
pom.xml |
- Return early when the buffer is empty - Keep only the number of byte buffers - Remove unnecessary null check in the loop (because we know buffer is not empty at certain point) |
||
---|---|---|
.. | ||
src | ||
pom.xml |