package
0.0.0-20240720002214-37b2b8227b91
Repository: https://github.com/progrium/go-netstack.git
Documentation: pkg.go.dev
# Functions
GetReadWriterAt returns a ReadWriterAt that reads from / writes to the given host file descriptor, starting at the given offset and using the given preadv2(2)/pwritev2(2) flags.
Preadv2 reads up to dsts.NumBytes() bytes from host file descriptor fd into dsts.
PutReadWriterAt releases a ReadWriterAt returned by a previous call to GetReadWriterAt that is no longer in use.
Pwritev2 writes up to srcs.NumBytes() from srcs into host file descriptor fd.
# Structs
ReadWriterAt implements safemem.Reader and safemem.Writer by reading from and writing to a host file descriptor respectively.