package
0.0.0-20240720002214-37b2b8227b91
Repository: https://github.com/progrium/go-netstack.git
Documentation: pkg.go.dev

# Functions

BytesIOSequence returns an IOSequence representing the given byte slice.
CopyInt32StringInVec is equivalent to CopyInt32StringsInVec, but copies at most one int32.
CopyInt32StringsInVec copies up to len(dsts) whitespace-separated decimal strings from the memory mapped at ars in uio and converts them to int32 values in dsts.
CopyInVec copies bytes from the memory mapped at ars in uio to dst.
CopyOutVec copies bytes from src to the memory mapped at ars in uio.
CopyStringIn copies a NUL-terminated string of unknown length from the memory mapped at addr in uio and returns it as a string (not including the trailing NUL).
ZeroOutVec writes zeroes to the memory mapped at ars in uio.

# Variables

ErrEndOfIOSequence is returned by IOSequence.Writer().Write() when attempting to write beyond the end of the IOSequence.

# Structs

BytesIO implements IO using a byte slice.
IOCopyContext wraps an object implementing hostarch.IO to implement marshal.CopyContext.
IOOpts contains options applicable to all IO methods.
IOReadWriter is an io.ReadWriter that reads from / writes to addresses starting at addr in IO.
IOSequence holds arguments to IO methods.
IOSequenceReadWriter implements io.Reader and io.Writer for an IOSequence.

# Interfaces

IO provides access to the contents of a virtual memory space.