A very fast and simple utility for converting a binary file into a C++ source file.
bin2cpp makes it possible to embed resources into the program’s executable file and load them into memory in a platform-independent way.
The program generates a C++ source file from any input file, embedding its contents in a "inline constexpr uint8_t" array.
Features
- The program is available in both console and GUI versions, with the latter being the recommended way to use bin2cpp
- Validates names and paths for correctness
- Supports Unicode characters in file paths and names, including valid Unicode identifiers in C++ (names composed of characters with Unicode property XID_Start for the first character and XID_Continue for subsequent characters, in accordance with the C++ standard)
- Shows conversion progress
- Shows elapsed time after conversion is complete
- Shows elapsed time after conversion is complete
License
MIT LicenseFollow bin2cpp (GUI + console)
Other Useful Business Software
Ship Agents Faster
Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. New customers get $300 in free credits.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of bin2cpp (GUI + console)!