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

Method put_uint

python/proton/_data.py:968–976  ·  view source on GitHub ↗

Puts an unsigned int value. :param ui: an integral value in the range :math:`0` to :math:`2^{32} - 1` inclusive. :raise: * ``AssertionError`` if parameter is out of the range :math:`0` to :math:`2^{32} - 1` inclusive. * :exc:`DataException` if there is a Pro

(self, ui: Union[uint, int])

Source from the content-addressed store, hash-verified

966 self._check(pn_data_put_short(self._data, s))
967
968 def put_uint(self, ui: Union[uint, int]) -> None:
969 """
970 Puts an unsigned int value.
971
972 :param ui: an integral value in the range :math:`0` to :math:`2^{32} - 1` inclusive.
973 :raise: * ``AssertionError`` if parameter is out of the range :math:`0` to :math:`2^{32} - 1` inclusive.
974 * :exc:`DataException` if there is a Proton error.
975 """
976 self._check(pn_data_put_uint(self._data, ui))
977
978 def put_int(self, i: Union[int32, int]) -> None:
979 """

Callers 1

testNestedNextMethod · 0.80

Calls 2

_checkMethod · 0.95
pn_data_put_uintFunction · 0.85

Tested by

no test coverage detected