public static short byteToShort(byte b) {
        return (short)(b & BYTE_MASK);
    }
Converts a byte to a short.
@param b the byte
@return the short equivalent of the byte
GPL/DMG/src/dmg/java/mobiledevices/dmg/ghidra/GConv.java