Documentation
¶
Overview ¶
Package buffer implements a variable-sized bytes pool.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Buffers ¶
type Buffers struct {
// contains filtered or unexported fields
}
Buffers contains buckets for sharding.
func NewBuffers ¶
NewBuffers creates a new Buffers with the given page size.
func (*Buffers) AssignPool ¶
AssignPool assigns a fixed size bytes pool with the given size.
Click to show internal directories.
Click to hide internal directories.