comp.lang.ada
 help / color / mirror / Atom feed
From: Gautier <gautier@fakeaddress.nil>
Subject: Re: Load an object from a file
Date: Sun, 19 Apr 2009 22:27:30 +0200
Date: 2009-04-19T22:27:30+02:00	[thread overview]
Message-ID: <49eb8975$1_4@news.bluewin.ch> (raw)
In-Reply-To: <49eb223e$0$2849$ba620e4c@news.skynet.be>

In the GLOBE_3D and Zip-Ada projects (from link below) you'll
find the generic Intel_nb functions that do the I/O by merging/splitting 
integers of various sizes from/to bytes (the way Ludovic described).
It is in the packages GLOBE_3D.IO and Zip.Headers respectively.

On the other hand, I kind of remember having read about a GNAT-only way 
to replace some run-time package to obtain the same with less efforts: 
T'Read could be doable with a specific endianess, no need to load in 
small pieces. Maybe I'm dreaming ?...

_________________________________________________________
Gautier's Ada programming -- http://sf.net/users/gdemont/
NB: For a direct answer, e-mail address on the Web site!



  parent reply	other threads:[~2009-04-19 20:27 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-03 12:01 Load an object from a file Olivier Scalbert
2009-04-03 13:07 ` Niklas Holsti
2009-04-03 13:37 ` Ludovic Brenta
2009-04-03 15:19   ` Olivier Scalbert
2009-04-03 16:08     ` Georg Bauhaus
2009-04-03 16:22       ` Ludovic Brenta
2009-04-03 16:41         ` Olivier Scalbert
2009-04-03 16:46       ` Adam Beneschan
2009-04-03 20:22         ` Ludovic Brenta
2009-04-09 20:32   ` Olivier Scalbert
2009-04-09 21:22     ` Ludovic Brenta
2009-04-09 22:22       ` Olivier Scalbert
2009-04-19 13:08   ` Olivier Scalbert
2009-04-19 19:52     ` Ludovic Brenta
2009-04-19 20:27     ` Gautier [this message]
2009-04-03 13:41 ` Thomas Løcke
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox