import "golang.org/x/exp/mmap"
Package mmap provides a way to memory-map a file.
type ReaderAt struct {
// contains filtered or unexported fields
}
ReaderAt reads a memory-mapped file.
Like any io.ReaderAt, clients can execute parallel ReadAt calls, but it is not safe to call Close and reading methods concurrently.
Open memory-maps the named file for reading.
At returns the byte at index i.
Close closes the reader.
Len returns the length of the underlying memory-mapped file.
ReadAt implements the io.ReaderAt interface.
Package mmap imports 6 packages (graph). Updated a day ago. Refresh now. Tools for package owners.