internal static java.nio.ReadWriteHeapByteBuffer copy(java.nio.HeapByteBuffer other , int markOfOther) { java.nio.ReadWriteHeapByteBuffer buf = new java.nio.ReadWriteHeapByteBuffer(other .backingArray, other.capacity(), other.offset); buf._limit = other._limit; buf._position = other.position(); buf._mark = markOfOther; return(buf); }
internal static java.nio.ReadWriteHeapByteBuffer copy(java.nio.HeapByteBuffer other , int markOfOther) { java.nio.ReadWriteHeapByteBuffer buf = new java.nio.ReadWriteHeapByteBuffer(other .backingArray, other.capacity(), other.offset); buf._limit = other._limit; buf._position = other.position(); buf._mark = markOfOther; return buf; }