MCPcopy Create free account
hub / github.com/apache/qpid-proton / encoded_size

Method encoded_size

python/proton/_data.py:795–801  ·  view source on GitHub ↗

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.

(self)

Source from the content-addressed store, hash-verified

793 return dtype
794
795 def encoded_size(self) -> int:
796 """
797 Returns the size in bytes needed to encode the data in AMQP format.
798
799 :return: The size of the encoded data or an error code if data is invalid.
800 """
801 return pn_data_encoded_size(self._data)
802
803 def encode(self) -> bytes:
804 """

Callers 1

decode_data_fileMethod · 0.80

Calls 1

pn_data_encoded_sizeFunction · 0.85

Tested by

no test coverage detected