copies the remaining elements as defined by limit - position in the passed bytebuffer into a newly-allocated direct bytebuffer . the returned buffer will have its byte order set to the host platform 's native byte order . the position of the newly-allocated buffer will be zero , and the position of the passed buffer is unchanged though its mark is changed . concode_field_sep int SIZEOF_BYTE concode_elem_sep int SIZEOF_SHORT concode_elem_sep int SIZEOF_INT concode_elem_sep int SIZEOF_FLOAT concode_elem_sep int SIZEOF_LONG concode_elem_sep int SIZEOF_DOUBLE concode_field_sep FloatBuffer copyFloatBuffer concode_elem_sep IntBuffer newIntBuffer concode_elem_sep ByteBuffer copyFloatBufferAsByteBuffer concode_elem_sep ShortBuffer copyShortBuffer concode_elem_sep ByteBuffer copyIntBufferAsByteBuffer concode_elem_sep ShortBuffer newShortBuffer concode_elem_sep DoubleBuffer newDoubleBuffer concode_elem_sep ByteBuffer copyLongBufferAsByteBuffer concode_elem_sep ByteBuffer copyShortBufferAsByteBuffer concode_elem_sep LongBuffer newLongBuffer concode_elem_sep LongBuffer copyLongBuffer concode_elem_sep FloatBuffer newFloatBuffer concode_elem_sep DoubleBuffer copyDoubleBuffer concode_elem_sep IntBuffer copyIntBuffer concode_elem_sep ByteBuffer copyDoubleBufferAsByteBuffer concode_elem_sep ByteBuffer newByteBuffer
ByteBuffer function ( ByteBuffer arg0 ) { ByteBuffer loc0 = newByteBuffer ( arg0 . remaining ( ) ) ; arg0 . mark ( ) ; loc0 . put ( arg0 ) ; arg0 . reset ( ) ; loc0 . rewind ( ) ; return loc0 ; }