RichUtils / pyxis.uzuki.live.richutilskt.utils / java.io.InputStream / outAsFile

outAsFile

fun InputStream.outAsFile(file: File): File

write file from InputStream

Parameters

file - to write File object

Return
File object which gaven as parameter