roundcubemail/program/lib/Roundcube/rcube_tnef_decoder.php
public function decompress($data, $params = array())
    {
        $out = array();

        if ($this->_geti($data, 32) == self::SIGNATURE) {
            $this->_geti($data, 16);

            while (strlen($data) > 0) {
                switch ($this->_geti($data, 8)) {
                case self::LVL_MESSAGE:
                    $this->_decodeMessage($data);
                    break;

                case self::LVL_ATTACHMENT:
                    $this->_decodeAttachment($data, $out);
                    break;
                }
            }
        }

        return array_reverse($out);
    }
public function decompress($data, $params = array())
    {
        $out = array();

        if ($this->_geti($data, 32) == self::SIGNATURE) {
            $this->_geti($data, 16);

            while (strlen($data) > 0) {
                switch ($this->_geti($data, 8)) {
                case self::LVL_MESSAGE:
                    $this->_decodeMessage($data);
                    break;

                case self::LVL_ATTACHMENT:
                    $this->_decodeAttachment($data, $out);
                    break;
                }
            }
        }

        return array_reverse($out);
    }
public function decompress ( $ data , $ params = array ( ) ) { $ out = array ( ) ; if ( $ this -> _geti ( $ data , 32 ) == self :: SIGNATURE ) { $ this -> _geti ( $ data , 16 ) ; while ( strlen ( $ data ) > 0 ) { switch ( $ this -> _geti ( $ data , 8 ) ) { case self :: LVL_MESSAGE : $ this -> _decodeMessage ( $ data ) ; break ; case self :: LVL_ATTACHMENT : $ this -> _decodeAttachment ( $ data , $ out ) ; break ; } } } return array_reverse ( $ out ) ; }
Decompress the data.

@param string $data   The data to decompress.
@param array $params  An array of arguments needed to decompress the
data.

@return mixed  The decompressed data.
Decompress the data .