netty5/buffer
Nick Hill 4a5712f8d9 Minor simplifications/optimizations to AbstractByteBuf methods (#9845)
Motivation

While working on other changes I noticed some opportunities to
streamline a few things in AbstractByteBuf.

Modifications

- Avoid duplicate ensureAccessible() checks in discard(Some)ReadBytes()
and ensureWritable0(int) methods
- Simplify ensureWritable0(int) logic
- Make some conditional checks more concise

Result

Cleaner, possibly faster code
2019-12-05 11:51:02 +01:00
..
src Minor simplifications/optimizations to AbstractByteBuf methods (#9845) 2019-12-05 11:51:02 +01:00
pom.xml Update version number to start working on Netty 5 2018-11-20 15:49:57 +01:00