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

transform

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

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

Parameters

output - The output location

transformer - The byte data transformer