public int decodeInt(byte[] buff, int offset) {
    return Bytes.toInt(buff, offset);
  }
Read an {@code int} value from the buffer {@code buff}.
hbase-common/src/main/java/org/apache/hadoop/hbase/types/RawInteger.java