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

Method put_memoryview

python/proton/_data.py:1090–1097  ·  view source on GitHub ↗

Put a Python memoryview object as an AMQP binary value. :param mv: A Python memoryview object :raise: :exc:`DataException` if there is a Proton error.

(self, mv: memoryview)

Source from the content-addressed store, hash-verified

1088 self._check(pn_data_put_binary(self._data, b))
1089
1090 def put_memoryview(self, mv: memoryview) -> None:
1091 """
1092 Put a Python memoryview object as an AMQP binary value.
1093
1094 :param mv: A Python memoryview object
1095 :raise: :exc:`DataException` if there is a Proton error.
1096 """
1097 self.put_binary(mv)
1098
1099 def put_string(self, s: str) -> None:
1100 """

Callers

nothing calls this directly

Calls 1

put_binaryMethod · 0.95

Tested by

no test coverage detected