netty5/common/src
Norman Maurer e7449b1ef3 [#5645] Allow to create ByteBuf from existing memory address.
Motivation:

Sometimes it is useful to be able to wrap an existing memory address (a.k.a pointer) and create a ByteBuf from it. This way its easier to interopt with other libraries.

Modifications:

Add a new Unpooled.wrappedBuffer(....) method that takes a memory address.

Result:

Be able to wrap an existing memory address into a ByteBuf.
2016-08-16 14:16:15 +02:00
..
main [#5645] Allow to create ByteBuf from existing memory address. 2016-08-16 14:16:15 +02:00
test Remove extra conditional check in retain 2016-08-05 13:09:26 +02:00