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

Method get_binary

python/proton/_data.py:1353–1359  ·  view source on GitHub ↗

Get the current node value as ``bytes``. :return: If the current node is binary, its value, ``b""`` otherwise.

(self)

Source from the content-addressed store, hash-verified

1351 return None
1352
1353 def get_binary(self) -> bytes:
1354 """
1355 Get the current node value as ``bytes``.
1356
1357 :return: If the current node is binary, its value, ``b""`` otherwise.
1358 """
1359 return pn_data_get_binary(self._data)
1360
1361 def get_string(self) -> str:
1362 """

Callers

nothing calls this directly

Calls 1

pn_data_get_binaryFunction · 0.90

Tested by

no test coverage detected