Files
protocol_convert_software_BD3/utils/hex_helper.py

5 lines
153 B
Python
Raw Normal View History

from utils.logger import logger
def hex_dump(data: bytes, title: str):
s = data.hex(" ").upper()
logger.info(f"[{title}] len={len(data)} | {s}")