package
Version:
v0.12.0-alpha.1
Opens a new window with list of versions in this module.
Published: Dec 18, 2024
License: Apache-2.0, BSD-3-Clause
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
The mmap package provides an abstraction for memory mapping files
on different platforms.
Munmap unmaps the given file from memory.
type Data struct {
Data []byte
Windows interface{}
}
The backing file is never closed, so Data
remains valid for the lifetime of the process.
Mmap maps the given file into memory.
When remapping a file, pass the most recently returned Data.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.