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

Method get_byte

python/proton/_data.py:1227–1233  ·  view source on GitHub ↗

Get the current node value as a :class:`byte`. :return: If the current node is a signed byte, its value, 0 otherwise.

(self)

Source from the content-addressed store, hash-verified

1225 return ubyte(pn_data_get_ubyte(self._data))
1226
1227 def get_byte(self) -> byte:
1228 """
1229 Get the current node value as a :class:`byte`.
1230
1231 :return: If the current node is a signed byte, its value, 0 otherwise.
1232 """
1233 return byte(pn_data_get_byte(self._data))
1234
1235 def get_ushort(self) -> ushort:
1236 """

Callers

nothing calls this directly

Calls 2

byteClass · 0.85
pn_data_get_byteFunction · 0.85

Tested by

no test coverage detected