mmap

package
Version: v2.0.0-beta.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 13, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package mmap provides a way to memory-map a file.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Map

func Map(path string, sz int64) ([]byte, error)

Map memory-maps a file.

func Unmap

func Unmap(data []byte) error

Unmap closes the memory-map.

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL