netty5/codec/src
Norman Maurer e35b7f982f Remove ByteBuf.readBytes(int) calls when possible
Motivation:

We use ByteBuf.readBytes(int) in various places where we could either remove it completely or use readSlice(int).retain().

Modifications:

- Remove ByteBuf.readBytes(int) when possible or replace by readSlice(int).retain().

Result:

Faster code.
2016-04-09 18:44:58 +02:00
..
main/java/io/netty/handler/codec Remove ByteBuf.readBytes(int) calls when possible 2016-04-09 18:44:58 +02:00
test/java/io/netty/handler/codec [#4386] ByteToMessage.decodeLast(...) should not call decode(...) if buffer is empty. 2016-03-01 08:42:04 +01:00