<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi all,<div><br></div><div>I'm a bit confused about numbers. A fixnum can hold numbers that fit into 31 or 63 bits depending on whether the machine is 32 bit or 64 bit, right?</div><div><br></div><div>How do I convert a positive integer number in the range from 0...<span class="Apple-style-span" style="border-collapse: collapse; font-family: -webkit-sans-serif; font-size: 13px; line-height: 19px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; ">4294967295 (inclusive) on any machine to a little-endian encoded 4-element bytes string? </span></div><div><font class="Apple-style-span" face="-webkit-sans-serif" size="3"><span class="Apple-style-span" style="border-collapse: collapse; font-size: 13px; line-height: 19px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;"><br></span></font></div><div><font class="Apple-style-span" face="-webkit-sans-serif" size="3"><span class="Apple-style-span" style="border-collapse: collapse; font-size: 13px; line-height: 19px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;">Best regards,</span></font></div><div><font class="Apple-style-span" face="-webkit-sans-serif" size="3"><span class="Apple-style-span" style="border-collapse: collapse; font-size: 13px; line-height: 19px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;"><br></span></font></div><div><font class="Apple-style-span" face="-webkit-sans-serif" size="3"><span class="Apple-style-span" style="border-collapse: collapse; font-size: 13px; line-height: 19px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;">Erich</span></font></div></body></html>