FallbackMappedMemoryChunk
class FallbackMappedMemoryChunk(val path: String, val fileOffset: Long, data: ByteArray, dataOffset: Int = 0, val size: Long = (data.size - dataOffset).toLong()) : MappedMemoryChunk(source)
Fallback MappedMemoryChunk implementation backed by a heap ByteArray.
Used on platforms without native mmap support (JS, Wasm). The data is eagerly loaded into memory, so this does not provide the OS-paged benefits of a true memory-mapped file. It does, however, satisfy the MappedMemoryChunk contract so that code written against that interface works on all Kotlin Multiplatform targets.