Categorygithub.com/go-mmap/mmap
modulepackage
0.7.0
Repository: https://github.com/go-mmap/mmap.git
Documentation: pkg.go.dev

# README

mmap

GitHub release go.dev reference CI codecov Go Report Card GoDoc License

Package mmap provides ways to mmap a file.

This started as a fork of golang.org/x/exp/mmap.

Installation

$> go get github.com/go-mmap/mmap

# Functions

Open memory-maps the named file for reading.
OpenFile memory-maps the named file for reading/writing, depending on the flag value.

# Constants

Read enables read-access to a mmap file.
Write enables write-access to a mmap file.

# Structs

File reads/writes a memory-mapped file.

# Type aliases

Flag specifies how a mmap file should be opened.