comp.lang.ada
 help / color / mirror / Atom feed
* Ada95 Streams
@ 1998-12-02  0:00 david_jones_98
  1998-12-02  0:00 ` Jerry van Dijk
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: david_jones_98 @ 1998-12-02  0:00 UTC (permalink / raw)


I'm using stream_io get heterogeneous (several different types) input from a
binary file, which works great. I read in a block of data from the file, then
perform a crc check on it, and then if the crc is ok, i need to read some
records from that block of data which is now in memory. I'd like to do this
using the same stream attributes I use when reading from the file.

How should I extend the root_stream_type to do this? At the moment I store the
block of data as an array of bytes.

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~1998-12-05  0:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-12-02  0:00 Ada95 Streams david_jones_98
1998-12-02  0:00 ` Jerry van Dijk
1998-12-03  0:00   ` david_jones_98
1998-12-03  0:00     ` Jerry van Dijk
1998-12-04  0:00     ` Richard D Riehle
1998-12-03  0:00 ` Srinivasan, R
1998-12-05  0:00 ` david.c.hoos.sr

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