Added bin2h support

This commit is contained in:
2025-09-25 18:23:42 -05:00
parent 36b050fc08
commit 75bd1e4b2a
5 changed files with 100 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
#pragma once
#include "../Streams/MemoryStream.hpp"
#include "../TextStreams/StringWriter.hpp"
namespace Tesses::Framework::Text {
void GenerateCHeaderFile(Streams::Stream* strm,std::string name, TextStreams::TextWriter* writer);
std::string GenerateCHeaderFile(Streams::Stream* strm,std::string name);
void GenerateCHeaderFile(const std::vector<uint8_t>& data,std::string name, TextStreams::TextWriter* writer);
std::string GenerateCHeaderFile(const std::vector<uint8_t>& data,std::string name);
}