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

Method put_binary

python/proton/_data.py:1081–1088  ·  view source on GitHub ↗

Puts a binary value. :param b: a binary value :raise: :exc:`DataException` if there is a Proton error.

(self, b: bytes)

Source from the content-addressed store, hash-verified

1079 self._check(pn_data_put_uuid(self._data, u))
1080
1081 def put_binary(self, b: bytes) -> None:
1082 """
1083 Puts a binary value.
1084
1085 :param b: a binary value
1086 :raise: :exc:`DataException` if there is a Proton error.
1087 """
1088 self._check(pn_data_put_binary(self._data, b))
1089
1090 def put_memoryview(self, mv: memoryview) -> None:
1091 """

Callers 1

put_memoryviewMethod · 0.95

Calls 2

_checkMethod · 0.95
pn_data_put_binaryFunction · 0.90

Tested by

no test coverage detected