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.097dev (GIT hash 6a5de4939ddf29875c1d9a706508d9bfd0cd7ca9)
last changed: 2026-06-09