public function isComplete()
    {
        if (!$this->buffer) {
            return false;
        }

        try {
            return $this->getBufferLength() >= $this->getExpectedBufferLength();
        } catch (FrameException $e) {
            return false;
        }
    }
public function isComplete()
    {
        if (!$this->buffer) {
            return false;
        }

        try {
            return $this->getBufferLength() >= $this->getExpectedBufferLength();
        } catch (FrameException $e) {
            return false;
        }
    }
public function isComplete ( ) { if ( ! $ this -> buffer ) { return false ; } try { return $ this -> getBufferLength ( ) >= $ this -> getExpectedBufferLength ( ) ; } catch ( FrameException $ e ) { return false ; } }
Whether the frame is complete

@return bool
Whether the frame is complete