package
1.2.2
Repository: https://github.com/johnsiilver/golib.git
Documentation: pkg.go.dev

# Functions

Anon indicates that the memory should not be backed by a file.
Flag sets the flag value for the mmap call.
Length sets the length in bytes of the file from the offset that we are mapping to memory.
NewMap creates a new Map object that provides methods for interacting with the mmap'd file.
NewString is the constructor for String.
Offset is where to start the mapping from.
Prot allows you to pass a Prot value that will be bitwise OR'd to come up with the final value.

# Constants

Exec indicates the data can be executed.
Private indicates changes to the data is for the current process only and will not change the underlying object.
Read indicates the data can be read.
Shared indicates changes to the data is shared between processes.
Write indicates the data can be written.

# Interfaces

Map represents a mapped file in memory and implements the io.ReadWriteCloser/io.Seeker/io.ReaderAt interfaces.
String provides methods for working with the mmaped file as a UTF-8 text file and retrieving data as a string.

# Type aliases

Option is an option to the New() constructor.