23
Reply

C# Binaryreader Position

Jay S

Jay S

Apr 18 2013 5:46 AM
7.3k
Hi All,

Bit stuck..

Is there a way to read in a certain length of bytes, search for a specific string and then set the binaryreader's location to that point?

For example..

Read in 40,000 bytes, find "hello", set basestream.position at that location

Many thanks

Answers (23)