package
1.0.6
Repository: https://github.com/cfeeling/mqtt.git
Documentation: pkg.go.dev

# Functions

NewBuffer returns a new instance of buffer.
NewBufferFromSlice returns a new instance of buffer using a pre-existing byte slice.
NewBytesPool returns a sync.pool of []byte.
NewReader returns a new Circular Reader.
NewReaderFromSlice returns a new Circular Reader using a pre-exising byte slice.
NewWriter returns a pointer to a new Circular Writer.
NewWriterFromSlice returns a new Circular Writer using a pre-exising byte slice.

# Variables

the default size per R/W block in bytes.
the default size of the buffer in bytes.
No description provided by the author
No description provided by the author

# Structs

buffer contains core values and methods to be included in a reader or writer.
BytesPool is a pool of []byte.
Reader is a circular buffer for reading data from an io.Reader.
Writer is a circular buffer for writing data to an io.Writer.