ByteBuffer bb = ByteBuffer.allocateDirect(1024);...encoder.wrap(.....)....etc...
UnsafeBuffer encodeBuffer = new UnsafeBuffer(bb);
encodeBuffer.byteArray(); only works for heap based buffers
--
You received this message because you are subscribed to the Google Groups "mechanical-sympathy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mechanical-symp...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--