Class BufferHelper


  • public class BufferHelper
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      BufferHelper()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.nio.ByteBuffer cloneByteBuffer​(java.nio.ByteBuffer original)
      Create a new independent ByteBuffer from a source ByteBuffer.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BufferHelper

        public BufferHelper()
    • Method Detail

      • cloneByteBuffer

        public static java.nio.ByteBuffer cloneByteBuffer​(java.nio.ByteBuffer original)
             Create a new independent ByteBuffer from a
             source ByteBuffer.
         
        Parameters:
        original - ByteBuffer
        Returns:
        ByteBuffer