kales-cli / kales.cli / java.io.InputStream

Extensions for java.io.InputStream

copyToWithLogging

fun InputStream.copyToWithLogging(destination: File): Long

Copy streams and close at the end