Re: How to make binary data portable?
- From: "PengYu.UT@xxxxxxxxx" <PengYu.UT@xxxxxxxxx>
- Date: 30 Jun 2005 10:39:47 -0700
Martin Ambuhl wrote:
> PengYu.UT@xxxxxxxxx wrote:
> > Hi,
> >
> > I write the content of a in file "data" (in Sun Machine). Then I read
> > "data" in both SunOS and linux. But the result is different. Do you
> > know how to make it binary data portable.
>
> Binary numeric data is inherently not portable. If you want files to be
> portable, your best bet is to write numeric data as text. Even that
> assumes that the different implementations|platforms use a common form
> of encoding text. You will find that when transporting data from one
> implementation|platform to another you still need to consider whether
> you need to convert that data.
Is there any easy way to convert the data?
.
- Follow-Ups:
- Re: How to make binary data portable?
- From: Randy Howard
- Re: How to make binary data portable?
- References:
- How to make binary data portable?
- From: PengYu.UT@xxxxxxxxx
- Re: How to make binary data portable?
- From: Martin Ambuhl
- How to make binary data portable?
- Prev by Date: Re: How to make binary data portable?
- Next by Date: Re: 1/2 =?
- Previous by thread: Re: How to make binary data portable?
- Next by thread: Re: How to make binary data portable?
- Index(es):
Relevant Pages
|