LocalFileTransfer

Properties

Link copied to clipboard
const val BUFFER_SIZE: Int

Functions

Link copied to clipboard
fun canUseChannelTransfer(context: Context, sourcePath: String, destinationPath: String): Boolean
Link copied to clipboard
fun copyFileChannel(context: Context, source: File, destination: File): Long
Link copied to clipboard
fun copyStreams(input: InputStream, output: OutputStream, bufferSize: Int, onChunk: (Long) -> Unit): Long