# 十六进制转二进制工具 **Repository Path**: orange23333/hex2bin ## Basic Information - **Project Name**: 十六进制转二进制工具 - **Description**: 将16进制的字符串转化为2进制的文件。 - **Primary Language**: Python - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-08-17 - **Last Updated**: 2023-08-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # hex2bin 一个将16进制字符串转化成二进制文件。 ## 命令行 ### 安装 * 下载[`hex2bin.py`](./hex2bin.py)即可。 ### 命令示例 * `python hex2bin.py out.bin direct "12345678ABCDEF"` 参数依次为`输出路径`、`输入数据格式`、`输入数据`。 ### 支持的输入格式 * `direct`: 连续的十二进制字符串。 ## 其他 * 本脚本使用`Python 3.10.4`测试。 --- View this code on [GitHub](https://github.com/Orange23333/hex2bin).