comp.lang.ada
 help / color / mirror / Atom feed
From: tmoran@bix.com (Tom Moran)
Subject: Stream_IO
Date: 1998/03/04
Date: 1998-03-04T00:00:00+00:00	[thread overview]
Message-ID: <34fcb5c5.33132164@SantaClara01.news.InterNex.Net> (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!




             reply	other threads:[~1998-03-04  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-03-04  0:00 Tom Moran [this message]
1998-03-04  0:00 ` Stream_IO Stephen Leake
1998-03-04  0:00 ` Stream_IO John J. Cupak Jr.
replies disabled

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