Here’s the problem:
2023R4 Windows using a TextInputStream:
I have a text file of about 5,000 lines. Each line is about 60 ASCII characters long and ends with CRLF (0D0A).
Input the file with .ReadLine. The 2,000th line (or so, different every time) is input with only 20 or 30 characters (again different every time).
This happens in Debug or Build mode, with or without threads active.
Could see no reason for this, so switched from TextInputStream to BinaryStream.Read() with suitable buffer management. Data is input correctly.
Has anyone met this type of problem?
21 posts - 9 participants