public static int getUShortBE(byte[] data) {
        return getUShortBE(data, 0);
    }
Get a BE unsigned short value from the beginning of a byte array

@param data the byte array
@return the unsigned short (16-bit) value in an int
tika-core/src/main/java/org/apache/tika/io/EndianUtils.java