Maybe you could use while !eof(io)?
See one example here.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Clean way to determine if a file open? | 8 | 2261 | September 23, 2019 | |
| [ANN] TruncatedStreams.jl - Streams that lie about EOF | 0 | 129 | August 14, 2024 | |
| How to tell if readuntil got a delimiter | 3 | 840 | September 17, 2018 | |
| IO error message while training an LSTM model but no operation on a file is being performed | 2 | 317 | February 13, 2024 | |
| IOStream and Filename Use | 18 | 1852 | March 17, 2018 |