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