Companion

Functions

Link copied to clipboard
@JvmStatic
fun FileStream.Read.asInputStream(closeParentOnClose: Boolean): InputStream

Converts the provided Read stream to an InputStream.

Link copied to clipboard
@JvmStatic
fun FileStream.Write.asOutputStream(closeParentOnClose: Boolean): OutputStream

Converts the provided Write stream to an OutputStream.