Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!haven!rutgers!bellcore!spectral!sjs From: sjs@spectral.ctt.bellcore.com (Stan Switzer) Newsgroups: comp.lang.c Subject: Re: binary data files Message-ID: <15853@bellcore.bellcore.com> Date: 2 May 89 13:19:16 GMT References: <10946@bloom-beacon.MIT.EDU> <12546@ut-emx.UUCP> <8758@csli.Stanford.EDU> <11021@bloom-beacon.MIT.EDU> Sender: news@bellcore.bellcore.com Reply-To: sjs@ctt.bellcore.com (Stan Switzer) Organization: Bellcore Lines: 13 Another alternative definitely worth looking into is Sun's XDR. XDR is available via anonymous FTP from titan.rice.edu (the sun-spots archives) in "sun-source/rpcsrc.*.*". If you have NFS you already have XDR. XDR is an efficient and rather clever scheme for producing flat, binary, machine-independent representations of arbitrary C data structures. It easily allows for pointer chasing, memory allocation, unions. Check it out. Stan Switzer sjs@ctt.bellcore.com