parameters: (self)
return_statement: return self.read()
docstring: Return the entirety of the data in the encoder.
  
          .. note::
  
              This simply reads all of the data it can. If you have started
              streaming or reading data from the encoder, this method will only
              return whatever data is left in the encoder.
  
          .. note::
  
              This method affects the internal state of the encoder. Calling
              this method will exhaust the encoder.
  
          :returns: the multipart message
          :rtype: bytes
docstring_summary: Return the entirety of the data in the encoder.
docstring_tokens: Return the entirety of the data in the encoder .
function: def to_string(self):
          """Return the entirety of the data in the encoder.
  
          .. note::
  
              This simply reads all of the data it can. If you have started
              streaming or reading data from the encoder, this method will only
              return whatever data is left in the encoder.
  
          .. note::
  
              This method affects the internal state of the encoder. Calling
              this method will exhaust the encoder.
  
          :returns: the multipart message
          :rtype: bytes
          """
  
          return self.read()
function_tokens: def to_string ( self ) : return self . read ( )