netty5/codec/src
Norman Maurer 496bd70e0a 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:21:06 +02:00
..
main/java/io/netty/handler/codec Use ByteBuf.readSlice(...).retain() to minimize memory copies. 2014-05-10 17:21:06 +02:00
test Fix chunk type for stream identifier 2014-04-19 21:06:46 +02:00