* Random access.
@ 1998-08-29 0:00 BARDIN Marc
1998-08-30 0:00 ` Matthew Heaney
0 siblings, 1 reply; 2+ messages in thread
From: BARDIN Marc @ 1998-08-29 0:00 UTC (permalink / raw)
Hi all,
- 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.
Anticipated thanks.
Marc
Marc.Bardin@wanadoo.fr
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Random access.
1998-08-29 0:00 Random access BARDIN Marc
@ 1998-08-30 0:00 ` Matthew Heaney
0 siblings, 0 replies; 2+ messages in thread
From: Matthew Heaney @ 1998-08-30 0:00 UTC (permalink / raw)
"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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1998-08-30 0:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-08-29 0:00 Random access BARDIN Marc
1998-08-30 0:00 ` Matthew Heaney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox