Mostly done. Works.
No error handling, but let it crash.
Merge branch 'master' of https://github.com/dckstr/erl-nif