Re: Help reading structured binary files



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

.



Relevant Pages

  • Re: Turbo Explorer loopholes closed
    ... AFAIR I used Delphi every day for a couple of years before it entered ... One could argue that a true newbie would be largely unware of ... look at the Plasmatech Shell Control Pack. ...
    (borland.public.delphi.non-technical)
  • Re: Web Development Question
    ... I am a newbie to Web development. ... Borland Delphi 2005 and ASP.NET Enhancements ... AJAX with ASP.NET and ECO ...
    (borland.public.delphi.non-technical)
  • Re: How many lines of code per programmer-hour?
    ... Hello, troll. ... Did I claim I was a newbie? ... I am a expert Delphi programmer. ...
    (borland.public.delphi.non-technical)
  • Re: Web Development Question
    ... If so, did you use Delphi? ... tutorials available? ... Seems wierd being called a newbie after so many years of w32 ...
    (borland.public.delphi.non-technical)