package
0.0.0-20240720002214-37b2b8227b91
Repository: https://github.com/progrium/go-netstack.git
Documentation: pkg.go.dev
# Functions
MakeWithData creates a new Buffer initialized with given data.
MakeWithView creates a new Buffer initialized with given view.
NewView creates a new view with capacity at least as big as cap.
NewViewSize creates a new view with capacity at least as big as size and length that is exactly size.
NewViewWithData creates a new view and initializes it with data.
# Constants
64k.
ReadSize is the default amount that a View's size is increased by when an io.Reader has more data than a View can hold during calls to ReadFrom.
# Structs
Buffer is a non-linear buffer.
BufferReader implements io methods on Buffer.
Range specifies a range of buffer.
View is a window into a shared chunk.