Hi Tom,<br><br> 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"><<a href="mailto:thomas.dubuisson@gmail.com">thomas.dubuisson@gmail.com</a>></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've had to deal with this frequently. Luckily, Data.Binary has<br>
functions like getWord32be, putWord64le, etc. I've never had any<br>
problems and typically don'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 <<a href="mailto:vigalchin@gmail.com">vigalchin@gmail.com</a>>:<br>
<div><div></div><div class="Wj3C7c">> Hello,<br>
><br>
> Are there applications that have to deal with both(!!!) big endian<br>
> and little endian on persistent store?? I.e. when marshalling out and<br>
> unmarshalling in "endian-ness" has to be considered??<br>
><br>
> Regards, Vasili<br>
><br>
</div></div>> _______________________________________________<br>
> Haskell-Cafe mailing list<br>
> <a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
> <a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
><br>
><br>
</blockquote></div><br>