original_string: public function escapeStream()
      {
          if ($this->literal()) {
              throw new Horde_Imap_Client_Data_Format_Exception('String requires literal to output.');
          }
  
          rewind($this->_data->stream);
  
          $stream = new Horde_Stream_Temp();
          $stream->add($this->_data, true);
  
          stream_filter_register('horde_imap_client_string_quote', 'Horde_Imap_Client_Data_Format_Filter_Quote');
          stream_filter_append($stream->stream, 'horde_imap_client_string_quote', STREAM_FILTER_READ);
  
          return $stream->stream;
      }
code: public function escapeStream()
      {
          if ($this->literal()) {
              throw new Horde_Imap_Client_Data_Format_Exception('String requires literal to output.');
          }
  
          rewind($this->_data->stream);
  
          $stream = new Horde_Stream_Temp();
          $stream->add($this->_data, true);
  
          stream_filter_register('horde_imap_client_string_quote', 'Horde_Imap_Client_Data_Format_Filter_Quote');
          stream_filter_append($stream->stream, 'horde_imap_client_string_quote', STREAM_FILTER_READ);
  
          return $stream->stream;
      }
code_tokens: public function escapeStream ( ) { if ( $ this -> literal ( ) ) { throw new Horde_Imap_Client_Data_Format_Exception ( 'String requires literal to output.' ) ; } rewind ( $ this -> _data -> stream ) ; $ stream = new Horde_Stream_Temp ( ) ; $ stream -> add ( $ this -> _data , true ) ; stream_filter_register ( 'horde_imap_client_string_quote' , 'Horde_Imap_Client_Data_Format_Filter_Quote' ) ; stream_filter_append ( $ stream -> stream , 'horde_imap_client_string_quote' , STREAM_FILTER_READ ) ; return $ stream -> stream ; }
docstring: Return the escaped string as a stream.
  
  @return resource  The IMAP escaped stream.
docstring_tokens: Return the escaped string as a stream .