[erlang-questions] Binaries

Bob Cowdery bob@REDACTED
Tue Jun 19 17:32:49 CEST 2018

If I have a number, say 1450000001 and I want to represent that as a 
binary in the form

  <<16#14,16#50,16#00,16#00,16#01>> what's the best way.

I'm not sure what list_to_binary(integer_to_list(1450000001)) which 
prints as <<"1450000001">> produces but I guess its 10 bytes not 5.


More information about the erlang-questions mailing list