# Get information on state of IOStream

**URL:** <https://discourse.julialang.org/t/get-information-on-state-of-iostream/66910>\
**Category:** General Usage\
**Tags:** io\
**Created:** [August 24, 2021, 12:52pm UTC](https://discourse.julialang.org/t/get-information-on-state-of-iostream/66910 "2021-08-24T12:52:39Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![rafael.guerra](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rafael.guerra/32/216610_2.png) [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)\
**Post date:** [August 25, 2021, 6:00pm UTC](https://discourse.julialang.org/t/get-information-on-state-of-iostream/66910/2 "2021-08-25T18:00:50Z")

</div>

Maybe you could use `while !eof(io)`?  
See one example [here](https://discourse.julialang.org/t/reading-complex-text-files-with-vectors/66954/6).

---

_[View the full topic](https://discourse.julialang.org/t/get-information-on-state-of-iostream/66910)._
