byte2File

public static File byte2File(Array<byte> buf, String filePath, String fileName)

Creates a file from a byte array.

Return

the created file

Parameters

buf

byte array

filePath

destination directory path

fileName

file name