package
0.0.0-20240720002214-37b2b8227b91
Repository: https://github.com/progrium/go-netstack.git
Documentation: pkg.go.dev
# Functions
NewOffsetReader returns an io.Reader that reads from r starting at offset off.
NewOffsetWriter returns an io.Writer that writes to w starting at offset off.
NewSectionReader returns an io.Reader that reads from r starting at offset off and stops with ErrReachedLimit after n bytes.
NewSectionWriter returns an io.Writer that writes to w starting at offset off and stops with ErrReachedLimit after n bytes.
# Variables
ErrReachedLimit is returned when SectionReader.Read or SectionWriter.Write reaches its limit.
# Structs
FullReader adapts an io.Reader to never return partial reads with a nil error.
SectionReader implements io.Reader on a section of an underlying io.ReaderAt.
SectionWriter implements io.Writer on a section of an underlying io.WriterAt.