readFile2BytesByMap

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

Return the bytes in file by map.

Return

the bytes in file

Parameters

filePath

The path of file.

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

Return the bytes in file by map.

Return

the bytes in file

Parameters

file

The file.