You can simplify your function by using the copyTo function: fun File.copyInputStreamToFile(inputStream: InputStream) { this.outputStream().use { fileOut ...
確定! 回上一頁