public static int ubyteToInt(byte b) {
        return b & 0xFF;
    }
Convert an 'unsigned' byte to an integer. ie, don't carry across the
sign.

@param b Description of the Parameter
@return Description of the Return Value
tika-core/src/main/java/org/apache/tika/io/EndianUtils.java