From: Michael Paus <pausnospam@nospamib-paus.com>
Subject: Re: Advice on low level file handling.
Date: Thu, 06 Apr 2006 09:43:44 +0200
Date: 2006-04-06T09:43:44+02:00 [thread overview]
Message-ID: <e12grg$5nr$1@online.de> (raw)
In-Reply-To: <Xns979C4420DD9D1pchapinsovernet@198.186.192.137>
Peter C. Chapin wrote:
> "Randy Brukardt" <randy@rrsoftware.com> wrote in
> news:R_adnVLVrp7jUazZRVn-rw@megapath.net:
> On the other hand, it might make sense to define a suitable record type
> that has the necessary fields already specified in the right places and
> then just read a chunk of the file into such a record. However, part of
> the file needs to be uninterpreted data---it's not a file of records---
> so this approach may not work out well either.
That's exactly what Stream_IO is made for. The big advantage of Stream_IO
is that you can read mixed types from a single stream. So you can read
pre-defined record types and uninterpreted data (bytes) just as you like.
Michael
next prev parent reply other threads:[~2006-04-06 7:43 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-02 2:47 Advice on low level file handling Peter C. Chapin
2006-04-02 10:55 ` Georg Bauhaus
2006-04-04 1:31 ` Randy Brukardt
2006-04-05 10:41 ` Peter C. Chapin
2006-04-06 7:43 ` Michael Paus [this message]
2006-04-06 12:21 ` Peter C. Chapin
2006-04-06 12:46 ` Dmitry A. Kazakov
2006-04-06 14:13 ` Bob Spooner
2006-04-07 10:48 ` Stephen Leake
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox