Convert hex string to bytes.
(hex_str: str)
| 56 | |
| 57 | |
| 58 | def hex_to_bytes(hex_str: str) -> bytes: |
| 59 | """Convert hex string to bytes.""" |
| 60 | return bytes.fromhex(hex_str) |
| 61 | |
| 62 | |
| 63 | def bytes_to_hex(b: bytes) -> str: |
no outgoing calls
no test coverage detected