Class ByteBuffers


  • public class ByteBuffers
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.nio.ByteBuffer copy​(java.nio.ByteBuffer buffer)  
      static java.nio.ByteBuffer reuse​(java.nio.ByteBuffer reuse, int length)  
      static byte[] toByteArray​(java.nio.ByteBuffer buffer)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • toByteArray

        public static byte[] toByteArray​(java.nio.ByteBuffer buffer)
      • reuse

        public static java.nio.ByteBuffer reuse​(java.nio.ByteBuffer reuse,
                                                int length)
      • copy

        public static java.nio.ByteBuffer copy​(java.nio.ByteBuffer buffer)