From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,3db17e1869f3a33d X-Google-Attributes: gid103376,public From: dewar@cs.nyu.edu (Robert Dewar) Subject: Re: Ada95 Streams Question Date: 1996/07/01 Message-ID: #1/1 X-Deja-AN: 163303320 references: <9606232338.AA12517@nile.gnat.com> <4r0ph3$2clm@info4.rus.uni-stuttgart.de> <4r88do$cl8@scapin.enst.fr> organization: Courant Institute of Mathematical Sciences newsgroups: comp.lang.ada Date: 1996-07-01T00:00:00+00:00 List-Id: 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.