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=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d2c23a44c4c8fd6b X-Google-Attributes: gid103376,public From: Mats Weber Subject: Re: fixed point types over an interface Date: 1997/02/12 Message-ID: <3301F4D0.15D0@elca-matrix.ch>#1/1 X-Deja-AN: 218477539 References: <32FBB550.41C67EA6@efogm.msd.ray.com> <32FF352D.3EA1@elca-matrix.ch> <5drd56$90i@lana.zippo.com> Content-Type: text/plain; charset=us-ascii Organization: ELCA Matrix SA Mime-Version: 1.0 Reply-To: Mats.Weber@elca-matrix.ch Newsgroups: comp.lang.ada X-Mailer: Mozilla 3.01 (Macintosh; I; PPC) Date: 1997-02-12T00:00:00+00:00 List-Id: Robert Dewar wrote: > > Laurent Pautet said > > < comes from the XDR 4 bytes rule (basically strings).>> > These primitive values are written in accordance with the rules in the XDR > standard, which are followed 100% accurately. > > If you want to intercommunicate with another language, that other language > must understand the sequence of items that is written into the stream. > For example if we use 'Output on a four character string with bounds 1..4, > then six elements are written: > > lower bound > upper bound > first character > second character > third character > fourth character > > each of these six elements is represented using the XDR standard. The > "other language" code must read these six elements and assemble them into > whatever makes best sense for representing this particular aggregate data > item. Does each of these six elements occupy 4 bytes in the message ?