inputStream

inline fun Path.inputStream(vararg options: OpenOption): InputStream(source)

Constructs a new InputStream of this file and returns it as a result.

The options parameter determines how the file is opened. If no options are present then it is equivalent to opening the file with the READ option.

Since Kotlin

1.5