saveFile

fun saveFile(fileData: ByteArray, file: File)

This method will convert a ByteArray to a file, and saves it to the path

Parameters

fileData

: the ByteArray

file

: the path where the ByteArray should be saved