netty5/codec/src
Norman Maurer 693633eeff Not use Unpooled to allocate buffers in Base64 but use a ByteBufAllocator
Motivation:

We should not use Unpooled to allocate buffers for performance reasons.

Modifications:

Allow to pass in ByteBufAllocate which is used to allocate buffers or use the allocate of the src buffer.

Result:

Better performance if the PooledByteBufAllocator is used.
2015-12-18 21:22:34 +01:00
..
main/java/io/netty/handler/codec Not use Unpooled to allocate buffers in Base64 but use a ByteBufAllocator 2015-12-18 21:22:34 +01:00
test Prevent adding newline if Base64 buffer encoded ends directly on MAX_LINE_LENGTH 2015-12-18 20:57:59 +01:00