Converts the given range to a stream. Input ranges are converted to input
streams, and output ranges are converted to output streams. Note that if
the given range is both an input and an output range, an input stream is
returned. Use asInputStream and asOutputStream to choose explicitly.
Converts the given range to a stream. Input ranges are converted to input streams, and output ranges are converted to output streams. Note that if the given range is both an input and an output range, an input stream is returned. Use asInputStream and asOutputStream to choose explicitly.