Re: How to read a binary file from the middle of the file
- From: "Ignacio Machin \( .NET/ C# MVP \)" <ignacio.machin AT dot.state.fl.us>
- Date: Wed, 28 Jun 2006 08:40:19 -0400
Hi,
If this is a binary file you do not have a concept of "line" just a raw
array of bytes.
Use FileStream to read the file and use FileStream.Seek to positionate the
punter where you want.
--
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"chinthamani" <vinodh_noel@xxxxxxxxx> wrote in message
news:061a5acf460451f84c04310e2cd8edb2@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hai,
I want to read from a particular point of the file not from the
beginning of the file. It may be from the second line or the third or from
any position, so how is it possible for me to reach the particular
position. Without starting from the file start position.
Regards
S.Vinodh Noel
Software Engineer
Bells Softech Ltd.
.
- References:
- How to read a binary file from the middle of the file
- From: chinthamani
- How to read a binary file from the middle of the file
- Prev by Date: Re: Mixing and matching languages.
- Next by Date: Security Permission system.security.permissions.securitypermission
- Previous by thread: Re: How to read a binary file from the middle of the file
- Next by thread: Re: How to read a binary file from the middle of the file
- Index(es):
Relevant Pages
|