G
Guest
I have a stituation which requires me to read each byte in a text file. Each
line has 473 characters of text and then a line feed. Everything works great
except for the fact that the last line, despite having it's own line feed
(chr(10)) is not being read in. What could be causing this?
When I use a stream reader, it picks up all the lines, however I cannot use
a streamreader because there are not ASCII characters in the file that cannot
be left out (the streamreader drops those characters.) Why does the
FileStream.Read method leave out the last line?
line has 473 characters of text and then a line feed. Everything works great
except for the fact that the last line, despite having it's own line feed
(chr(10)) is not being read in. What could be causing this?
When I use a stream reader, it picks up all the lines, however I cannot use
a streamreader because there are not ASCII characters in the file that cannot
be left out (the streamreader drops those characters.) Why does the
FileStream.Read method leave out the last line?