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