4 ms·
if you do that you could also do base64 ;)
by je42 7y ago
if you do that you could also do base64 ;)
- klodolph 7y agoBut you can’t? Base64 won’t be recognized by the C compiler, you’ll end up having to decode it at runtime.
- je42 7y agoyep. That's a small piece of c-code you need to invest. See https://stackoverflow.com/questions/342409/how-do-i-base64-encode-decode-in-c https://stackoverflow.com/questions/342409/how-do-i-base64-e...
- klodolph 7y agoSo, by encoding in base64, you’ve made a more complicated solution which is also slower and harder to use? This seems like it is worse in every conceivable way. The only reason I can see for embedding base64 is if you need the source code to be compact, which makes sense for e.g. JavaScript but makes no sense for C. I’ll take the simple, fast, and easy solution, thank you.