booster / com.didiglobal.booster.transform.util / java.util.zip.ZipInputStream

Extensions for java.util.zip.ZipInputStream

transform

fun ZipInputStream.transform(output: OutputStream, entryFactory: (ZipEntry) -> ZipArchiveEntry = ::ZipArchiveEntry, transformer: (ByteArray) -> ByteArray): Unit
fun ZipInputStream.transform(output: File, entryFactory: (ZipEntry) -> ZipArchiveEntry = ::ZipArchiveEntry, transformer: (ByteArray) -> ByteArray): Unit