Re: How to read a binary file from the middle of the file

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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.



.



Relevant Pages

  • Re: How do I save a classs Raw Data (without .NET object data) to a binary file?
    ... overhead) to a binary file. ... I want to save the raw characters of the string and the raw integer ... array of Bytes and cast that array as my class, ...
    (microsoft.public.dotnet.languages.vc)
  • Re: binary i/o files
    ... strange characters on the screen. ... I am able to store the values in an ASCII format. ... write press....where pressis the array I am trying to ... write in the binary file. ...
    (comp.lang.fortran)
  • Re: binary i/o files
    ... I am able to store the values in an ASCII format. ... write press....where pressis the array I am trying to ... write in the binary file. ...
    (comp.lang.fortran)
  • Re: binary i/o files
    ... I am able to store the values in an ASCII format. ... write press....where pressis the array I am trying to ... write in the binary file. ...
    (comp.lang.fortran)
  • Re: binary i/o files
    ... I am able to store the values in an ASCII format. ... write press....where pressis the array I am trying to ... write in the binary file. ...
    (comp.lang.fortran)