Gets the input stream for this object.
This is used for reading.
a IOStream
a InputStream, owned by the IOStream. Do not free.