readFile2BytesByStream

open fun readFile2BytesByStream(filePath: String): Array<Byte>

Return the bytes in file by stream.

Return

the bytes in file

Parameters

filePath

The path of file.

open fun readFile2BytesByStream(file: File): Array<Byte>

Return the bytes in file by stream.

Return

the bytes in file

Parameters

file

The file.