Elixir v1.8.1 IO.Stream View Source
The following fields are public:
device- the IO device
raw- a boolean indicating if bin functions should be used
line_or_bytes- if reading should read lines or a given number of bytes
It is worth noting that an IO stream has side effects and every time you go over the stream you may get different results.