Decodes the first value from supplied AMQP data and returns the number of bytes consumed. :param encoded: AMQP encoded binary data :raise: :exc:`DataException` if there is a Proton error.
(self, encoded: bytes)
| 818 | self._check(cd) |
| 819 | |
| 820 | def decode(self, encoded: bytes) -> int: |
| 821 | """ |
| 822 | Decodes the first value from supplied AMQP data and returns the |
| 823 | number of bytes consumed. |
| 824 | |
| 825 | :param encoded: AMQP encoded binary data |
| 826 | :raise: :exc:`DataException` if there is a Proton error. |
| 827 | """ |
| 828 | return self._check(pn_data_decode(self._data, encoded)) |
| 829 | |
| 830 | def put_list(self) -> None: |
| 831 | """ |
no test coverage detected