We not have such a method yet. That said I think we could add it. Want to open an issue or even doing a PR ? This should go into Unpooled I think :)
> On 04 Aug 2016, at 15:10, Tomasz Kowalczewski <[email protected]> > wrote: > > Hi, > > I was unable to find a method for ByteBuf to wrap already allocated native > memory pointer (e.g. using Unsafe.allocateMemory). Was addition of such > method considered? > My specific use case if when using Unsafe/DirectBuffers from Agrona and > interfacing with Aeron. At some point, I want to pass data to Netty based > client. > > Regards, > Tomasz Kowalczewski > > -- > You received this message because you are subscribed to the Google Groups > "Netty discussions" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/netty/4779d179-297b-4880-80aa-ad99cff11f13%40googlegroups.com > > <https://groups.google.com/d/msgid/netty/4779d179-297b-4880-80aa-ad99cff11f13%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- You received this message because you are subscribed to the Google Groups "Netty discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/netty/A069630F-F6F3-4626-9B23-75EB6512EB51%40googlemail.com. For more options, visit https://groups.google.com/d/optout.
