Re: unbuffered file IO?
- From: Jon Skeet [C# MVP] <skeet@xxxxxxxxx>
- Date: Wed, 15 Aug 2007 07:08:07 +0100
MikeJ <vettes_n_jets@xxxxxxxxxxxxx> wrote:
i ran many different files through it..and my orig post was
"work in progress..." and "not completed"...
your thoughts are welcome but i don't know where you are talking about 106
and where im reading contents into the array
since the array is a long[] and therefore strings can't be placed in it
i read into a buffer to find end of line and that could be anything
far as that 106 , the Endof Line Marker is "~" character , so Max Record
Length would Be 106
Since these are files that come in the form of Ansi EDI type files
that method you read was a generic find end of line method and build some
information
And that may be fine for *your* use of it, but you were recommending it
for others to use - and there's no indication from the OP that he's
looking at files which have the special sort of format you're
describing.
if the user of the class specified the end of line..the top (if) statement
is executed , else the constant (if) block below are executed
before you bash...you should read a lil....as i said work in progress....
but i do welcome comments
I'd just be wary of telling people that you're providing code which
will work for *their* case when it's still a work in progress for your
particular use
--
Jon Skeet - <skeet@xxxxxxxxx>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
.
- Follow-Ups:
- Re: unbuffered file IO?
- From: MikeJ
- Re: unbuffered file IO?
- References:
- unbuffered file IO?
- From: Lee Crabtree
- Re: unbuffered file IO?
- From: MikeJ
- Re: unbuffered file IO?
- From: Jon Skeet [C# MVP]
- Re: unbuffered file IO?
- From: MikeJ
- Re: unbuffered file IO?
- From: Jon Skeet [C# MVP]
- Re: unbuffered file IO?
- From: MikeJ
- Re: unbuffered file IO?
- From: Jon Skeet [C# MVP]
- Re: unbuffered file IO?
- From: MikeJ
- unbuffered file IO?
- Prev by Date: Re: NetworkStream.Read - Thread freezes
- Next by Date: Re: Update a specific XML node
- Previous by thread: Re: unbuffered file IO?
- Next by thread: Re: unbuffered file IO?
- Index(es):
Relevant Pages
|