function Get32s($val1, $val2, $val3, $val4)
    {
        $val1 = ord($val1);
        $val2 = ord($val2);
        $val3 = ord($val3);
        $val4 = ord($val4);

        if ($this->MotorolaOrder)
        {
            return (($val1 << 24) | ($val2 << 16) | ($val3 << 8) | ($val4 << 0));
        }
        else
        {
            return (($val4 << 24) | ($val3 << 16) | ($val2 << 8) | ($val1 << 0));
        }
    }
function Get32s($val1, $val2, $val3, $val4)
    {
        $val1 = ord($val1);
        $val2 = ord($val2);
        $val3 = ord($val3);
        $val4 = ord($val4);

        if ($this->MotorolaOrder)
        {
            return (($val1 << 24) | ($val2 << 16) | ($val3 << 8) | ($val4 << 0));
        }
        else
        {
            return (($val4 << 24) | ($val3 << 16) | ($val2 << 8) | ($val1 << 0));
        }
    }
function Get32s ( $ val1 , $ val2 , $ val3 , $ val4 ) { $ val1 = ord ( $ val1 ) ; $ val2 = ord ( $ val2 ) ; $ val3 = ord ( $ val3 ) ; $ val4 = ord ( $ val4 ) ; if ( $ this -> MotorolaOrder ) { return ( ( $ val1 << 24 ) | ( $ val2 << 16 ) | ( $ val3 << 8 ) | ( $ val4 << 0 ) ) ; } else { return ( ( $ val4 << 24 ) | ( $ val3 << 16 ) | ( $ val2 << 8 ) | ( $ val1 << 0 ) ) ; } }
Converts 4-byte number into its equivalent integer

@param   int
@param   int
@param   int
@param   int

@return int
Converts 4 - byte number into its equivalent integer