comp.lang.ada
 help / color / mirror / Atom feed
From: Matthew Heaney <matthew_heaney@acm.org>
Subject: Re: Random access.
Date: 1998/08/30
Date: 1998-08-30T00:00:00+00:00	[thread overview]
Message-ID: <m3soifqhjz.fsf@mheaney.ni.net> (raw)
In-Reply-To: 6s9hf7$cg$1@platane.wanadoo.fr

"BARDIN Marc" <Marc.Bardin@wanadoo.fr> writes:

> - I need to use direct access file.
> - It's ok to instantiate with static descriptor (i.e : package Dir_Es is new
> Direct_Io (1);). But my need is a dynamic access, i should want to change
> the access size dynamically to read/write exactly number of bytes i want at
> location i wish.

Package Ada.Direct_IO is for homogenous collections.  You appear to need
heterogeneous collections, in which case you should look at
Ada.Streams.Stream_IO to see if it meets your needs.




      reply	other threads:[~1998-08-30  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-08-29  0:00 Random access BARDIN Marc
1998-08-30  0:00 ` Matthew Heaney [this message]
replies disabled

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