From: Jeff Carter <jrcarter@acm.org>
Subject: Re: Variable length raw-byte data
Date: Tue, 12 Dec 2000 05:19:21 GMT
Date: 2000-12-12T05:19:21+00:00 [thread overview]
Message-ID: <3A35B58D.40D636F7@acm.org> (raw)
In-Reply-To: 976563484.10868.0.nnrp-01.c1ed21d4@news.demon.co.uk
Often, you can receive the pointer as an address and use it for an
object.
type Byte_List is array (Positive range <>) of Unsigned_8;
C_Thing (Length, Pointer);
Use_Thing : declare
Thing : Byte_List (1 .. Length);
for Thing'Address use Pointer;
begin -- Use_Thing
...
end Use_Thing;
--
Jeff Carter
"I blow my nose on you."
Monty Python & the Holy Grail
next prev parent reply other threads:[~2000-12-12 5:19 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-12-11 19:38 Variable length raw-byte data Julian Morrison
2000-12-12 5:19 ` Jeff Carter [this message]
2000-12-13 0:50 ` Robert Dewar
2000-12-13 8:56 ` Tristan Gingold
-- strict thread matches above, loose matches on Subject: below --
2000-12-12 3:30 Beard, Frank
2000-12-12 5:54 ` tmoran
2000-12-12 21:00 Beard, Frank
2000-12-13 15:48 ` David Botton
2000-12-13 15:51 ` Lutz Donnerhacke
2000-12-13 19:34 ` Robert Dewar
2000-12-14 8:54 ` Lutz Donnerhacke
2000-12-13 23:10 ` Jeff Carter
2000-12-12 21:11 Beard, Frank
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-13 20:39 Beard, Frank
2000-12-14 13:30 ` 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