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,FREEMAIL_FROM, INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,fad7b049cb669896,start X-Google-Attributes: gid103376,public From: david_jones_98@yahoo.com Subject: Ada95 Streams Date: 1998/12/02 Message-ID: <742rpk$2t4$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 417772065 X-Http-Proxy: 1.0 proxy.camtech.net.au:88 (Squid/2.1.PATCH1), 1.0 x12.dejanews.com:80 (Squid/1.1.22) for client unknown, 203.23.145.162 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Wed Dec 02 07:55:33 1998 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.04 [en] (Win95; I) Date: 1998-12-02T00:00:00+00:00 List-Id: 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