public static ShortBuffer wrap(short[] array, int start, int shortCount) {Arrays.checkOffsetAndCount(array.length, start, shortCount);ShortBuffer buf = new ReadWriteShortArrayBuffer(array);buf.position = start;buf.limit = start + shortCount;return buf;}

public static java.nio.ShortBuffer wrap(short[] array_1, int start, int shortCount){java.util.Arrays.checkOffsetAndCount(array_1.Length, start, shortCount);java.nio.ShortBuffer buf = new java.nio.ReadWriteShortArrayBuffer(array_1);buf._position = start;buf._limit = start + shortCount;return buf;}
