ei: decoding negative values

Joel Reymont <>
Thu Oct 28 17:13:28 CEST 2010


When using ei, how do I know whether to decode signed or unsigned values?

I'm not sure if I should use ei_decode_long or ei_decode_ulong and ei_get_type is not very helpful here.

My goal is to display the value that was encoded. 

	Thanks, Joel

---
http://twitter.com/wagerlabs



More information about the erlang-questions mailing list