Re: Help reading structured binary files
- From: "Robert Kilroy" <kilroy@xxxxxxxxx>
- Date: 17 Jul 2005 23:21:36 -0700
Rob,
Thanks for the quick reply. I'm sure it's all newbie stuff. I usually
use Delphi for database jobs, so this is all new to me.
I appreciate the insight, I'm sure it'll help me out.
The TRIMs are leftovers from a previous version, and you're right, they
sure don't belong. The actual speed really isn't THAT bad... about 2
files a second. Each file is from 200-300 bytes, but I've seen some as
large as 500 bytes. So I felt I should refine it, or more to the point,
do it right to begin with.
Obviously I'd like to avoid exceptions... that's why I went with a
WHILE to the site of the stream. I also loaded the file in a
MemoryStream because I understood that to be a faster way of doing it.
I originally did use a FileStream and I did notice an increase of speed
when I switched.
I'll massage the code some more.
Thanks!
RK
.
- References:
- Help reading structured binary files
- From: Robert Kilroy
- Re: Help reading structured binary files
- From: Rob Kennedy
- Help reading structured binary files
- Prev by Date: Re: Help reading structured binary files
- Next by Date: Re: Help reading structured binary files
- Previous by thread: Re: Help reading structured binary files
- Next by thread: Re: Help reading structured binary files
- Index(es):
Relevant Pages
|