Registry / utility / xujiajun-mmap-go

xujiajun-mmap-go

JSON →
library1.0.1gogounverified

Package mmap allows mapping files into memory with a simple interface.

go get github.com/xujiajun/mmap-go
INSTALL
IMPORT
SIG · XUJIAJUN-MMAP-GO
X
xujiajun-mmap-go
utilitygov1.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

mmap
github.com/xujiajun/mmap-go

Memory-map a file for reading and writing

package main import ( "fmt" "github.com/xujiajun/mmap-go" "os" ) func main() { f, _ := os.OpenFile("test.dat", os.O_RDWR, 0644) defer f.Close() m, _ := mmap.Map(f, mmap.RDWR, 0) defer m.Unmap() fmt.Println(string(m)) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
Resources
xujiajun-mmap-go — go get xujiajun-mmap-go · libregistry