Puts an unsigned byte value. :param ub: an integral value in the range :math:`0` to :math:`2^8 - 1` inclusive :raise: * ``AssertionError`` if parameter is out of the range :math:`0` to :math:`2^8 - 1` inclusive. * :exc:`DataException` if there is a Proton er
(self, ub: Union[ubyte, int])
| 926 | self._check(pn_data_put_bool(self._data, b)) |
| 927 | |
| 928 | def put_ubyte(self, ub: Union[ubyte, int]) -> None: |
| 929 | """ |
| 930 | Puts an unsigned byte value. |
| 931 | |
| 932 | :param ub: an integral value in the range :math:`0` to :math:`2^8 - 1` inclusive |
| 933 | :raise: * ``AssertionError`` if parameter is out of the range :math:`0` to :math:`2^8 - 1` inclusive. |
| 934 | * :exc:`DataException` if there is a Proton error. |
| 935 | """ |
| 936 | self._check(pn_data_put_ubyte(self._data, ub)) |
| 937 | |
| 938 | def put_byte(self, b: Union[byte, int]) -> None: |
| 939 | """ |
no test coverage detected