comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@cs.nyu.edu (Robert Dewar)
Subject: Re: Ada95 Streams Question
Date: 1996/07/01
Date: 1996-07-01T00:00:00+00:00	[thread overview]
Message-ID: <dewar.836270629@schonberg> (raw)
In-Reply-To: 4r88do$cl8@scapin.enst.fr


Laurent said

"Are you sure ? I think that for instance, arrays are always marshalled
into a stream array rounded up to 4 bytes. For instance, a 13 bytes
array is mapped onto a 16 bytes stream array. Therefore, you need to
modify the compiler."

this is wrong, a 13 byte array causes the bytes of the array to be written
out as individual stream elements, and the resulting stream will be 13
bytes long. I really don't know what Laurent has in mind, but probably
something significant, since he knows this code pretty well! But right
now I don't see it. The unit s-stratt among other things dicates the
length in bytes used to represent each individual primitive data type.





  reply	other threads:[~1996-07-01  0:00 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-06-23  0:00 Ada95 Streams Question Robert Dewar
1996-06-24  0:00 ` michael
1996-06-24  0:00   ` Robert Dewar
1996-06-28  0:00     ` Robert A Duff
1996-06-30  0:00       ` Robert Dewar
1996-06-28  0:00     ` michael
1996-06-28  0:00       ` Robert Dewar
1996-07-01  0:00         ` Laurent Pautet
1996-07-01  0:00           ` Robert Dewar [this message]
1996-07-02  0:00     ` sam
1996-06-24  0:00   ` Laurent Pautet
1996-06-25  0:00   ` Theodore E. Dennison
  -- strict thread matches above, loose matches on Subject: below --
1996-06-24  0:00 Chris.Morgan
1996-06-17  0:00 Chris.Morgan
1996-06-18  0:00 ` Robert I. Eachus
1996-06-19  0:00 ` Samuel Tardieu
1996-06-20  0:00   ` Robert Dewar
replies disabled

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