Binary data file compatibility across machines
Dave Jones
djones at megatest.UUCP
Thu Nov 29 13:03:22 AEST 1990
>From article <prk.659625326 at pegasus>, by prk at planet.bt.co.uk (KnightRider):
> stiber at cs.ucla.edu (Michael D Stiber) writes:
>>However, in my application,
>>ASCII would produce files that are way too huge --- I must use a binary
>>format.
I suppose you have considered using "compress" and "uncompress" in
conjunction with ascii files, but I thought I would just mention it.
Also, you don't have to use the obvious ascii encoding either. That
converts one binary nibble into an ascii char, doubling the data size.
It's not at all hard to get a ratio of 4/3 as uuencode does.
More information about the Comp.lang.c
mailing list