parameters: (self)
return_statement: return pn_data_encoded_size(self._data)
docstring: Returns the size in bytes needed to encode the data in AMQP format.
  
          :return: The size of the encoded data or an error code if data is invalid.
docstring_summary: Returns the size in bytes needed to encode the data in AMQP format.
docstring_tokens: Returns the size in bytes needed to encode the data in AMQP format .
function: def encoded_size(self) -> int:
          """
          Returns the size in bytes needed to encode the data in AMQP format.
  
          :return: The size of the encoded data or an error code if data is invalid.
          """
          return pn_data_encoded_size(self._data)
function_tokens: def encoded_size ( self ) -> int : return pn_data_encoded_size ( self . _data )