code: public static InputStream get(IO.Readable io, boolean closeAsync) {
  		if (io instanceof IOFromInputStream)
  			return ((IOFromInputStream)io).getInputStream();
  		if (io instanceof IO.Readable.Buffered)
  			return new BufferedToInputStream((IO.Readable.Buffered)io, closeAsync);
  		return new IOAsInputStream(io);
  	}
docs: Get an instance for the given IO.