netty5/codec/src
Norman Maurer 880acbca72 Use ByteBuf.readSlice(...).retain() to minimize memory copies.
Motivation:
At the moment we call ByteBuf.readBytes(...) in these handlers but with optimizations done as part of 25e0d9d we can just use readSlice(...).retain() and eliminate the memory copy.

Modifications:
Replace ByteBuf.readBytes(...) usage with readSlice(...).retain().

Result:
Less memory copies.
2014-05-10 17:20:53 +02:00
..
main/java/io/netty/handler/codec Use ByteBuf.readSlice(...).retain() to minimize memory copies. 2014-05-10 17:20:53 +02:00
test Fix chunk type for stream identifier 2014-04-19 21:06:28 +02:00