(self)
| 398 | target_uri: str |
| 399 | |
| 400 | def to_bytes(self) -> bytes: |
| 401 | header = WspMessageHeader(_msg=WspMessageType.CPMCREATEQUERY) |
| 402 | body = self._get_body_bytes() |
| 403 | |
| 404 | header._ulChecksum = CalculateChecksum(body, WspMessageType.CPMCREATEQUERY) |
| 405 | |
| 406 | return header.to_bytes() + body |
| 407 | |
| 408 | def _get_body_bytes(self) -> bytes: |
| 409 | temp_buffer = bytearray() |
nothing calls this directly
no test coverage detected