https://blog.adamfurmanek.pl/2018/03/24/generating-func-from-bunch-of-bytes-in-c/ Looks it could be possible