static int intBufferBinarySearch(IntBuffer buf, int key) { ret buf == null ? -1 : intArrayBinarySearch(buf.data, 0, buf.size(), key); }