original_string: public function readHeader()
      {
          $name     = $this->_inputStream->readUTF();
          $mustRead = (bool)$this->_inputStream->readByte();
          $length   = $this->_inputStream->readLong();
  
          try {
              $data = $this->_deserializer->readTypeMarker();
          } catch (Exception $e) {
              require_once 'Zend/Amf/Exception.php';
              throw new Zend_Amf_Exception('Unable to parse ' . $name . ' header data: ' . $e->getMessage() . ' '. $e->getLine(), 0, $e);
          }
  
          $header = new Zend_Amf_Value_MessageHeader($name, $mustRead, $data, $length);
          return $header;
      }
code: public function readHeader()
      {
          $name     = $this->_inputStream->readUTF();
          $mustRead = (bool)$this->_inputStream->readByte();
          $length   = $this->_inputStream->readLong();
  
          try {
              $data = $this->_deserializer->readTypeMarker();
          } catch (Exception $e) {
              require_once 'Zend/Amf/Exception.php';
              throw new Zend_Amf_Exception('Unable to parse ' . $name . ' header data: ' . $e->getMessage() . ' '. $e->getLine(), 0, $e);
          }
  
          $header = new Zend_Amf_Value_MessageHeader($name, $mustRead, $data, $length);
          return $header;
      }
code_tokens: public function readHeader ( ) { $ name = $ this -> _inputStream -> readUTF ( ) ; $ mustRead = ( bool ) $ this -> _inputStream -> readByte ( ) ; $ length = $ this -> _inputStream -> readLong ( ) ; try { $ data = $ this -> _deserializer -> readTypeMarker ( ) ; } catch ( Exception $ e ) { require_once 'Zend/Amf/Exception.php' ; throw new Zend_Amf_Exception ( 'Unable to parse ' . $ name . ' header data: ' . $ e -> getMessage ( ) . ' ' . $ e -> getLine ( ) , 0 , $ e ) ; } $ header = new Zend_Amf_Value_MessageHeader ( $ name , $ mustRead , $ data , $ length ) ; return $ header ; }
docstring: Deserialize a message header from the input stream.
  
  A message header is structured as:
  - NAME String
  - MUST UNDERSTAND Boolean
  - LENGTH Int
  - DATA Object
  
  @return Zend_Amf_Value_MessageHeader
docstring_tokens: Deserialize a message header from the input stream .