Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BytesPool ¶
type BytesPool struct {
// contains filtered or unexported fields
}
BytesPool is a bucketed pool for variably sized byte slices.
func NewBytesPool ¶
NewBytesPool returns a new BytesPool with size buckets for minSize to maxSize increasing by the given factor.
Click to show internal directories.
Click to hide internal directories.