• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 181
  • Last Modified:

I am getting a buffer overfow on reading a 250 MB binary file

                 BinaryReader br = new BinaryReader(reader);


Please advice.  Thanks,
0
khyberman
Asked:
khyberman
1 Solution
 
Daniel Van Der WerkenIndependent ConsultantCommented:
This works for me on a 300MB file:

            FileStream fs = new FileStream("g:\\naruto\\Naruto_100.mpg", FileMode.Open);
            BinaryReader br = new BinaryReader(fs);

            fs.Close();
            br.Close();
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now