comp.lang.ada
 help / color / mirror / Atom feed
* Stream_IO
@ 1998-03-04  0:00 Tom Moran
  1998-03-04  0:00 ` Stream_IO John J. Cupak Jr.
  1998-03-04  0:00 ` Stream_IO Stephen Leake
  0 siblings, 2 replies; 3+ messages in thread
From: Tom Moran @ 1998-03-04  0:00 UTC (permalink / raw)



Is there a way to use Stream_IO to read a file produced by other than
the program doing the reading, in particular, a file binary file
produced, say, with C?  The RM indicates the representation is
implementation defined, and 'read apparently quite ignores rep
clauses, so I find one compiler reads integer things of 'size 8 or 16
as 16, and another reads size 16 things as size 32.  I hate to read
into a String and then do Unchecked_Conversions or 'address overlays,
but I don't see any other portable approach.  Help!




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1998-03-04  0:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-03-04  0:00 Stream_IO Tom Moran
1998-03-04  0:00 ` Stream_IO John J. Cupak Jr.
1998-03-04  0:00 ` Stream_IO Stephen Leake

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