[erlang-questions] binary_to_term and Leaking Atoms

Jayson Vantuyl <>
Fri Oct 2 06:48:11 CEST 2009


That works if I was just sending an atom as a binary, but I was hoping  
to send whole data structures using term_to_binary.  Looks like  
there's no way to make that atom safe, then?

On Oct 1, 2009, at 9:46 PM, Max Lapshin wrote:

> There are  erlang:binary_to_existing_atom/2,  
> erlang:list_to_existing_atom/1


-- 
Jayson Vantuyl








More information about the erlang-questions mailing list