Note that in erl_interface there is a library "ei", which contains C code to translate to and from the binary term format. It's not yet documented, but it should be easy to use anyway. (The C code is in the encode_*.[ch] and decode_*.[ch] files.) /Jakob