Hi Tom,<br><br>&nbsp;&nbsp;&nbsp;&nbsp; What is an example of some software in Hackage that reads/writes things like integers to persistent store ... i.e. where endian-ness is an issue?<br><br>Regards, Vasili<br><br><div class="gmail_quote">On Thu, Jan 22, 2009 at 7:24 AM, Thomas DuBuisson <span dir="ltr">&lt;<a href="mailto:thomas.dubuisson@gmail.com">thomas.dubuisson@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Sure, I&#39;ve had to deal with this frequently. &nbsp;Luckily, Data.Binary has<br>
functions like getWord32be, putWord64le, etc. &nbsp;I&#39;ve never had any<br>
problems and typically don&#39;t worry about the wire format after making<br>
the Binary instances.<br>
<br>
Or, if your question was what types of programs might be concerned you<br>
can include any program that writes data to a file where the file<br>
might be read on a different system and networking programs,<br>
obviously.<br>
<br>
Tom<br>
<br>
2009/1/22 Galchin, Vasili &lt;<a href="mailto:vigalchin@gmail.com">vigalchin@gmail.com</a>&gt;:<br>
<div><div></div><div class="Wj3C7c">&gt; Hello,<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; Are there applications that have to deal with both(!!!) big endian<br>
&gt; and little endian on persistent store?? I.e. when marshalling out and<br>
&gt; unmarshalling in &quot;endian-ness&quot; has to be considered??<br>
&gt;<br>
&gt; Regards, Vasili<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; Haskell-Cafe mailing list<br>
&gt; <a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
&gt; <a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
&gt;<br>
&gt;<br>
</blockquote></div><br>