P
Phil Galey
I have huge image files, from which I need to read only the first 20,000
characters, looking for a particular substring. The closest I've come to
being able to do that is with the StreamReader. But the ReadBlock only
gives you a char array and the ReadToEnd, which does read into a string,
would take about an hour.
How can I read into a string the first 20,000 characters of an image file?
Thanks.
characters, looking for a particular substring. The closest I've come to
being able to do that is with the StreamReader. But the ReadBlock only
gives you a char array and the ReadToEnd, which does read into a string,
would take about an hour.
How can I read into a string the first 20,000 characters of an image file?
Thanks.