package
standard library
Version:
go1.23.0
Opens a new window with list of versions in this module.
Published: Aug 13, 2024
License: 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.
type Data struct {
Data []byte
}
Data is mmap'ed read-only data from a file.
The backing file is never closed, so Data
remains valid for the lifetime of the process.
Mmap maps the given file into memory.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.