readFromFile

expect fun readFromFile(fileHandle: Long, length: Long): ByteArray

Reads file data.

Return

File data chunk

Parameters

fileHandle

handle to the file

length

size of data to read

Throws

thrown when method encounters an exception

thrown when method encounters an unknown exception

thrown when instance is closed

actual fun readFromFile(fileHandle: Long, length: Long): ByteArray

Reads file data.

Return

File data chunk

Parameters

fileHandle

handle to the file

length

size of data to read

Throws

thrown when method encounters an exception

thrown when method encounters an unknown exception

thrown when instance is closed

actual external fun readFromFile(fileHandle: Long, length: Long): ByteArray

Reads file data.

Return

File data chunk

Parameters

fileHandle

handle to the file

length

size of data to read

Throws

thrown when method encounters an exception

thrown when method encounters an unknown exception

thrown when instance is closed