comp.lang.ada
 help / color / mirror / Atom feed
From: "Jean-Pierre Rosen" <rosen.adalog@wanadoo.fr>
Subject: Re: Reading "leftover" chunks from files
Date: 1999/08/20
Date: 1999-08-20T11:32:32+00:00	[thread overview]
Message-ID: <7pjecg$ln8$1@wanadoo.fr> (raw)
In-Reply-To: 37BCD2F1.E0AECF04@Think.So

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 991 bytes --]

Matthew <I.Dont@Think.So> a �crit dans le message :
37BCD2F1.E0AECF04@Think.So...
.
>
> I want to read in a file so that I can get fixed-length chunks of data
> backwards, and also read in whatever data (smaller than the chunk size)
> is left behind at the end of the file.

I have written a package called Direct_Text_IO. It is a mixture of Direct_IO
and Text_IO, i.e. it allows random access in a text file.
It provides usual operations on Character and strings, and deals properly
with end of lines and end of pages.
It is not finalized (i.e. I didn't yet write the documentation); once it is
done, I will put it on Adalog's components page.
In the mean time, send me a note if you want to try it (my ISP refuses
attachments in this newsgroup).
Feel free to use it and report any problem you may encounter !

--
---------------------------------------------------------
           J-P. Rosen (Rosen.Adalog@wanadoo.fr)
Visit Adalog's web site at http://perso.wanadoo.fr/adalog











  parent reply	other threads:[~1999-08-20  0:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-08-20  0:00 Reading "leftover" chunks from files Matthew
1999-08-20  0:00 ` Robert Dewar
1999-08-20  0:00   ` tmoran
1999-08-20  0:00 ` Jean-Pierre Rosen [this message]
1999-08-20  0:00 ` Matthew
replies disabled

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