https://github.com/reybits/bin2hpp
Binary to C-array converter
https://github.com/reybits/bin2hpp
cpp gamedev linux macos tools
Last synced: about 1 month ago
JSON representation
Binary to C-array converter
- Host: GitHub
- URL: https://github.com/reybits/bin2hpp
- Owner: reybits
- License: gpl-3.0
- Created: 2024-05-18T22:46:30.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2025-03-15T12:44:46.000Z (over 1 year ago)
- Last Synced: 2025-04-07T23:48:59.712Z (about 1 year ago)
- Topics: cpp, gamedev, linux, macos, tools
- Language: C++
- Homepage:
- Size: 25.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Binary to C-array converter
This tool converts binary files into C-style arrays. It is useful for embedding binary data directly into C/C++ source code.
## Download and build
You can view the source code repository on GitHub or get a copy using git with the following command:
```sh
git clone https://github.com/reybits/bin2hpp.git
cd bin2hpp
make release
```
## Usage
```sh
bin2hpp input_path [output_path] [options]
```
`output_path` and `options` are optional.
***
*© 2000-2024 Andrey A. Ugolnik. All Rights Reserved.* | *https://www.ugolnik.info* | *andrey@ugolnik.info*