binary_to_term

Claes Wikstrom klacke@REDACTED
Wed Jun 10 17:48:34 CEST 2009


1> B = term_to_binary(18).
<<131,97,18>>
2> B2 = <<B/binary, B/binary>>.
<<131,97,18,131,97,18>>
3> binary_to_term(B2).
18



opinions anyone ?

I for one don't like the above.


/klacke


More information about the erlang-questions mailing list