booster / com.didiglobal.booster.transform.util / java.io.File

Extensions for java.io.File

transform

Transform this file or directory to the output by the specified transformer

fun File.transform(output: File, transformer: (ByteArray) -> ByteArray = { it -> it }): Unit