public int[] asIntegerArray() {
        int step = Integer.BYTES;
        int len = length / step;
        int[] values = new int[len];
        for (int i = 0, offset = 0; i < len; i++, offset += step) {
            values[i] = getInteger(offset);
        }
        return values;
    }
Converts 2 bytes(little-endian) starting from {@code position() + offset} to
unsigned short.

@param offset zero-based relative offset, 1 means the second byte
              starting from {@link #position()}
@return unsigned short
clickhouse-data/src/main/java/com/clickhouse/data/ClickHouseByteBuffer.java