pullFile

suspend fun pullFile(devicePath: String): ByteArray(source)

The bytes of the regular file at devicePath on the device (at most 512 MiB).


suspend fun pullFile(devicePath: String, target: Path)(source)

pullFile into the local file target, replaced only once the whole file has arrived.