- Python 98.3%
- Makefile 1.7%
|
|
||
|---|---|---|
| .github/workflows | ||
| docs | ||
| .gitignore | ||
| LICENSE.md | ||
| main.py | ||
| Makefile | ||
| printers.py | ||
| readers.py | ||
| README.md | ||
| sysout.py | ||
| test_decoders.py | ||
| testbinary.bin | ||
Bin To Hex
A simple script that converts binary files into readable decimal, binary, or hex files. This tool should work for any binary file.
Table of Contents
Getting Started
Prerequisites
Installation
- Clone this project somewhere you like
git clone https://github.com/Vvamp/BinToHex
- Cd into the project directory
cd BinToHex
Usage
Command Line Arguments
Run : python main.py -h shows all the available command line arguments and their usage.
The command python main.py -i hello.DDD -o output.txt --hex converts the hello.DDD file to hex into output.txt.
The command python main.py -i hello.DDD -o output.txt --binary converts the hello.DDD file to binary text.
The command python main.py -i hello.bin -o output.txt --binary --hex converts the hello.bin file to both binary and hex(seperated by a '|' character).
See python main.py -h for a list of commands
Contributing
- Fork the project
- Create a feature branch:
git checkout -b feature/<FeatureName> - Make your changes
- Commit your changes:
git commit -m "<Describe your changes>" - Push to the branch:
git push origin feature/<FeatureName> - Open a pull request
License
Distributed under the Boost Software License Version 1.0.
See LICENSE for more details.
Contact
Vincent van Setten - @Vvamp - info@vincentvansetten.com
Project: Bin To Hex