Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

mmap

io.file.open.mmap

(R 
type
, offset i64, size i64, code Function R)
 => 
outcome R
install mmap effect an run code

note: the offset must be a multiple of the `os.mmap_offset_multiple` which usually is 4096, windows 65536?
note: offset+size must not exceed size of file

example usage:

Precondition
pre
  safety: offset % os.mmap_offset_multiple = 0
  safety: size > 0

Type Parameters

0.099dev (GIT hash 250922c42fb1dcef5ce7ce89820538f53498ca37)
last changed: 2026-08-14