end2endzone/bin2cpp
bin2cpp: The easiest way to embed small files into a c++ executable. bin2cpp converts text or binary files to C++ files (*.h, *.cpp) for easy access within the code.
Generates accessor functions that encode file metadata (original size, filename, relative path) directly in the C/C++ output, eliminating runtime dependencies on external libraries. Supports multiple code generation backends (string, segment, array, Win32 resources) and directory embedding with structure preservation, making it adaptable to different project architectures from embedded systems to GUI applications requiring single-file distribution.
No commits in the last 6 months.
Stars
91
Forks
10
Language
C++
License
MIT
Category
Last pushed
Aug 31, 2025
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/end2endzone/bin2cpp"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
howerj/dbcc
CAN DBC to C (and CSV, JSON and XML) compiler using the mpc parser combinator library
JhnW/devana
Python package to parse and generate C/C++ code as context aware preprocessor.
biojppm/regen
Easy C++ reflection and code generation
Samsung/UTopia
UT based automated fuzz driver generation
SoftSec-KAIST/CodeAlchemist
CodeAlchemist: Semantics-Aware Code Generation to Find Vulnerabilities in JavaScript Engines (NDSS '19)