booster / com.didiglobal.booster.kotlinx / kotlin.ByteArray / redirect

redirect

fun ByteArray.redirect(file: File): Long

Redirect this byte data to the specified file

Author
johnsonlee

fun ByteArray.redirect(output: OutputStream): Long

Redirect this byte data to the specified output stream

Author
johnsonlee