text: 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;}