JInterface question

Vlad Dumitrescu <>
Wed Jun 15 20:49:08 CEST 2005


----- Original Message ----- 
From: Olivier Sambourg
> It seems the only difference is the leading 131 byte in erlang.
> Can anyone confirm that it is always present ? If it is the case,
> I guess I have my solution.

Hi,

Yes, the 131 (*) is always there, because term_to_binary encodes into Erlang 
external format.

See also $ERL_TOP/erts/emulator/internal_doc/erl_ext_dist.txt for details 
about the format, if you're interested.

regards,
Vlad

(*) Future releases might change the actual value, I think, because it's a 
"version magic" field. 



More information about the erlang-questions mailing list