public static int toInt(byte[] bytes) {
        return toInt(bytes, 0, SIZEOF_INT);
    }
Converts a byte array to an int value

@param bytes byte array
@return the int value
stroom-bytebuffer/src/main/java/stroom/bytebuffer/hbase/Bytes.java