netty5/buffer/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/java/io/netty/buffer [#5645] Allow to create ByteBuf from existing memory address. 2016-08-16 14:16:15 +02:00
test/java/io/netty/buffer [#5645] Allow to create ByteBuf from existing memory address. 2016-08-16 14:16:15 +02:00