asInputStream
Converts the provided Read stream to an InputStream.
NOTE: InputStream.skip supports negative values (skipping backwards). NOTE: InputStream.available is implemented.
Return
An InputStream.
Parameters
closeParentOnClose
If true, closure of the InputStream will also close the Read stream. If false, only the InputStream will be closed when InputStream.close is called.
Throws
If isOpen is false.