this is not a good solution for embedding large binaries as the string encoding blows up by a factor 4X.
Really, the correct way is to build upon what I wrote in <https://forum.nim-lang.org/t/8117#52130> and make it cross-platform and wrapped with an easy to use API , it's possible and not necessarily that hard.