readFromFile

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

Reads file data.

Return

File data chunk

Parameters

fileHandle

handle to read file data

length

size of data to read

Throws

thrown when instance is closed

thrown when method encounters an exception

thrown when method encounters an unknown exception

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

Reads file data.

Return

File data chunk

Parameters

fileHandle

handle to read file data

length

size of data to read

Throws

thrown when instance is closed

thrown when method encounters an exception

thrown when method encounters an unknown exception

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

Reads file data.

Return

File data chunk

Parameters

fileHandle

handle to read file data

length

size of data to read

Throws

thrown when instance is closed

thrown when method encounters an exception

thrown when method encounters an unknown exception