Puts a boolean value. :param b: a boolean value :raise: :exc:`DataException` if there is a Proton error.
(self, b: Union[bool, int])
| 917 | self._check(pn_data_put_null(self._data)) |
| 918 | |
| 919 | def put_bool(self, b: Union[bool, int]) -> None: |
| 920 | """ |
| 921 | Puts a boolean value. |
| 922 | |
| 923 | :param b: a boolean value |
| 924 | :raise: :exc:`DataException` if there is a Proton error. |
| 925 | """ |
| 926 | self._check(pn_data_put_bool(self._data, b)) |
| 927 | |
| 928 | def put_ubyte(self, ub: Union[ubyte, int]) -> None: |
| 929 | """ |
no test coverage detected