Horde_ActiveSync_Wbxml_Decoder::isWbxml PHP Method

isWbxml() public method

Check that the input stream contains wbxml. Basically looks for a valid WBXML_VERSION header. self::readWbxmlHeader MUST have been called already.
public isWbxml ( ) : boolean
return boolean
    public function isWbxml()
    {
        if (!$this->_readHeader) {
            throw new Horde_ActiveSync_Exception('Failed to read WBXML header prior to calling isWbxml()');
        }
        return $this->_isWbxml;
    }