file2byte

public static Array<byte> file2byte(File file)

Gets the byte array of the specified file.

Return

byte array of the file

Parameters

file

the file


public static Array<byte> file2byte(Context context, Uri uri)