# Functions
Copy creates a new Buffer from the given data, initializing the reference counter to 1.
DefaultBufferPool returns the current default buffer pool.
IsBelowBufferPoolingThreshold returns true if the given size is less than or equal to the threshold for buffer pooling.
NewBuffer creates a new Buffer from the given data, initializing the reference counter to 1.
NewTieredBufferPool returns a BufferPool implementation that uses multiple underlying pools of the given pool sizes.
NewWriter wraps the given BufferSlice and BufferPool to implement the io.Writer interface.
ReadAll reads from r until an error or EOF and returns the data it read.
ReadUnsafe reads bytes from the given Buffer into the provided slice.
SplitUnsafe modifies the receiver to point to the first n bytes while it returns a new reference to the remaining bytes.
# Structs
NopBufferPool is a buffer pool that returns new buffers without pooling.
# Interfaces
A Buffer represents a reference counted piece of data (in bytes) that can be acquired by a call to NewBuffer() or Copy().
BufferPool is a pool of buffers that can be shared and reused, resulting in decreased memory allocation.
Reader exposes a BufferSlice's data as an io.Reader, allowing it to interface with other parts systems.
# Type aliases
BufferSlice offers a means to represent data that spans one or more Buffer instances.
SliceBuffer is a Buffer implementation that wraps a byte slice.