From: lutz@iks-jena.de (Lutz Donnerhacke)
Subject: Re: Variable length raw-byte data
Date: 13 Dec 2000 15:51:20 GMT
Date: 2000-12-13T15:51:20+00:00 [thread overview]
Message-ID: <slrn93f6iu.vo.lutz@taranis.iks-jena.de> (raw)
In-Reply-To: 00d101c0651c$24e3ea60$f8ffa8c0@dbdell2000
* David Botton wrote:
>C_Thing (Length, Pointer)
>
>declare
> type Byte_List is array (1 .. Length) of Unsigned_8;
> Thing : Byte_List;
> for Thing'Address use Pointer;
Usually I add:
pragma Convention(Byte_List, Thing);
>Is there a reason that using the for Thing'Address would be a better
>solution then the second method?
Personally I suspect an array to be a complex data structure and am not sure
if the Unchecked_Conversion or the 'Address points really to the included
data with out the pragam above.
--
http://www.tm.oneiros.de/calendar/2001/index.html
next prev parent reply other threads:[~2000-12-13 15:51 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-12-12 21:00 Variable length raw-byte data Beard, Frank
2000-12-13 15:48 ` David Botton
2000-12-13 15:51 ` Lutz Donnerhacke [this message]
2000-12-13 19:34 ` Robert Dewar
2000-12-14 8:54 ` Lutz Donnerhacke
2000-12-13 23:10 ` Jeff Carter
-- strict thread matches above, loose matches on Subject: below --
2000-12-13 20:39 Beard, Frank
2000-12-14 13:30 ` Robert Dewar
2000-12-13 2:56 Beard, Frank
2000-12-13 15:52 ` Robert Dewar
2000-12-13 18:23 ` Larry Kilgallen
2000-12-13 19:26 ` Robert Dewar
2000-12-12 21:11 Beard, Frank
2000-12-12 3:30 Beard, Frank
2000-12-12 5:54 ` tmoran
2000-12-11 19:38 Julian Morrison
2000-12-12 5:19 ` Jeff Carter
2000-12-13 0:50 ` Robert Dewar
2000-12-13 8:56 ` Tristan Gingold
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox