mapSync abstract method

MappedFile mapSync(
  1. String name
)

Maps a whole file read-only.

Backends that cannot map (in-memory, web) may return a plain view; the contract is only that MappedFile.bytes stays valid until close.

Implementation

MappedFile mapSync(String name);