[rrd-developers] implementing portable format

Sebastian Harl sh at tokkee.org
Tue Apr 7 22:43:23 CEST 2009


On Tue, Apr 07, 2009 at 10:25:30PM +0200, Tobias Oetiker wrote:
> Today Bernhard Reutner-Fischer wrote:
> > This is really not concerned with the architecture in any way.
> >
> > You would just read any data back with the appropriate per data accessor
> > from libc. like e.g.:
> as I said, integers are no problem whatsoever, the differences lie
> in floatinpoint formats and data alignment.

Data alignment happens in (main) memory only, so this is not an issue
for on-disk formats. You might just not be able to simple copy a whole
struct to disk but need to write each field one by one.


Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/

Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety.         -- Benjamin Franklin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.oetiker.ch/pipermail/rrd-developers/attachments/20090407/24bdcab8/attachment.bin 

More information about the rrd-developers mailing list