public static short getShortBE(byte[] data, int offset) {
        return (short) getUShortBE(data, offset);
    }
Get a BE short value from a byte array

@param data   the byte array
@param offset a starting offset into the byte array
@return the short (16-bit) value
tika-core/src/main/java/org/apache/tika/io/EndianUtils.java