netty5/buffer
Norman Maurer 8d63aae484 ByteBuf.readBytes(...) should use the allocator of the buffer to create the new buffer. Related to [#5093]
Motivation:

ByteBuf.readBytes(...) uses Unpooled.buffer(...) internally which will use a heap ByteBuf and also not able to make use of the allocator which may be pooled. We should better make use of the allocator.

Modifications:

Use the allocator for thenew buffer.

Result:

Take allocator into account when copy bytes.
2016-04-09 20:31:13 +02:00
..
src ByteBuf.readBytes(...) should use the allocator of the buffer to create the new buffer. Related to [#5093] 2016-04-09 20:31:13 +02:00
pom.xml [maven-release-plugin] prepare for next development iteration 2016-04-04 16:53:40 +02:00