<div>I confirm this.</div><div>š</div><div>18.11.2012, 00:28, "Dmitry Kolesnikov" <dmkolesnikov@gmail.com>:</div><blockquote type="cite"><div>Hello,</div><div>This looks as endianness problem. You have to keep in-mind that binaries is big-endianšby default, which contrasts with C memory. You have to be very careful of C algorithms mapping.</div></blockquote><div>š</div><div>s/:32/:32\/little/g make test work.</div><div><div>My 5 cents:</div><div>š You can write list_to_binary([<<X:32/little>> || X <- List]) as << <<X:32/little>> || X <- List >>.</div></div>