mapping

package
v0.0.0-...-287e184 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mapping

type Mapping struct {
	// contains filtered or unexported fields
}

Mapping of a file

func Create

func Create(file *os.File) (m *Mapping, err error)

Create a mapping from a file

func (*Mapping) Bytes

func (m *Mapping) Bytes() (b []byte)

Bytes return mapped memory

func (*Mapping) Close

func (m *Mapping) Close() (err error)

Close a mapping

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL