Why you need this ? There is currently not way to influence the alignment manual
Am Dienstag, 24. Januar 2017 17:19:53 UTC+1 schrieb Kiril Menshikov: > > Hey, > > How can use PooledByteBufAllocator to allocate 64-byte align memory. > > Is it possible to know during memory request what memory address will be > 64-byte aligned: > > allocator.directBuffer(512, Integer.MAX_VALUE); > > Do you have recommendations how to do it? > > At the moment I can verify memorAddress and compute padding if necessary. > But in this case I need to modify size as well (size+padding). > > Thanks, > -Kiril > -- 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/913bc15c-8b44-4d1a-abb9-da40265baeea%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
