byte2File

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

Generates a file based on the byte array

Return

The generated file

Parameters

buf

The byte array

filePath

The file storage path

fileName

The file name