How can I read binary file if I know only the offset position and the type of it's element. Suppose all of the element in binary file has the same type.
Use a BinaryReader, and it's ReadBytes method to read x number of bytes from a stream.
To position the read point within the stream, use the BaseStream property of the BinaryReader, and use the Seek method.
Chip H.
____________________________________________________________________ Click here to learn Ways to help with Tsunami Relief If you want to get the best response to a question, please read FAQ222-2244 first
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.