title: Java byte array to ByteBuffer or ByteBuffer to byte array convertion "WITHOUT COPYING"
body: <p>the biggest problem on java arrays , they require copying to edit.
  I am using AMD Aparapi , which i get byte array from my calculations.
  I need to show that byte array as a bytebuffer "without copying"</p>
  
  <pre><code>byte aparapiData[];
  ByteBuffer buffer;
  ...
  //here bytebuffer
  buffer.clear();
  buffer.put(aparapiData);
  buffer.flip();
  
  socket.write(buffer);
  </code></pre>
  
  <p>The problem here on code , buffer.put is copying byte array to bytebuffer.
  And also there is reverse problem to convert byte array to bytebuffer.</p>
  
  <p>Are they really require copying data?
  I can send pure data on C++ without copying.</p>
  
  <p>How can i solve this issue on Java ?</p>