original_string: protected function _appendData($data, &$asize)
      {
          if (is_resource($data)) {
              rewind($data);
          }
  
          /* Since this is body text, with possible embedded charset
           * information, non-ASCII characters are supported. */
          $ob = new Horde_Imap_Client_Data_Format_String_Nonascii($data, array(
              'eol' => true,
              'skipscan' => true
          ));
  
          // APPEND data MUST be sent in a literal (RFC 3501 [6.3.11]).
          $ob->forceLiteral();
  
          $asize += $ob->length();
  
          return $ob;
      }
code: protected function _appendData($data, &$asize)
      {
          if (is_resource($data)) {
              rewind($data);
          }
  
          /* Since this is body text, with possible embedded charset
           * information, non-ASCII characters are supported. */
          $ob = new Horde_Imap_Client_Data_Format_String_Nonascii($data, array(
              'eol' => true,
              'skipscan' => true
          ));
  
          // APPEND data MUST be sent in a literal (RFC 3501 [6.3.11]).
          $ob->forceLiteral();
  
          $asize += $ob->length();
  
          return $ob;
      }
code_tokens: protected function _appendData ( $ data , & $ asize ) { if ( is_resource ( $ data ) ) { rewind ( $ data ) ; } /* Since this is body text, with possible embedded charset
           * information, non-ASCII characters are supported. */ $ ob = new Horde_Imap_Client_Data_Format_String_Nonascii ( $ data , array ( 'eol' => true , 'skipscan' => true ) ) ; // APPEND data MUST be sent in a literal (RFC 3501 [6.3.11]). $ ob -> forceLiteral ( ) ; $ asize += $ ob -> length ( ) ; return $ ob ; }
docstring: Prepares append message data for insertion into the IMAP command
  string.
  
  @param mixed $data      Either a resource or a string.
  @param integer &$asize  Total append size.
  
  @return Horde_Imap_Client_Data_Format_String_Nonascii  The data object.
docstring_tokens: Prepares append message data for insertion into the IMAP command string .