Hi,
I have to work with files, that were created from database records. It is binary. Any character is possible to be there. It is possible to have some character as EOF.
Also I do not know, what is the code for EOF?
How to handle a situation when data would have the same character as the EOF? How to be shure, that by check on the EOF I actualy have the end of file and not any data character in a midle?
Appreciate your help!
I have to work with files, that were created from database records. It is binary. Any character is possible to be there. It is possible to have some character as EOF.
Also I do not know, what is the code for EOF?
How to handle a situation when data would have the same character as the EOF? How to be shure, that by check on the EOF I actualy have the end of file and not any data character in a midle?
Appreciate your help!