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

Extensions for kotlin.ByteArray

redirect

Redirect this byte data to the specified file

fun ByteArray.redirect(file: File): Long

Redirect this byte data to the specified output stream

fun ByteArray.redirect(output: OutputStream): Long