RandomAccessFile using the readFully() function, specifying the offset and length of bytes to read, or simply using seek()
Must close the file pointer when done.
That should be better than readBytes() from the Kotlin standard library, as it doesn't read the entire file into memory.
RandomAccessFile using the readFully() function, specifying the offset and length of bytes to read, or simply using seek() Must close the file pointer when done.
That should be better than readBytes() from the Kotlin standard library, as it doesn't read the entire file into memory.