Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultBufferPool = NewBufferPool()
Functions ¶
This section is empty.
Types ¶
type BufferPool ¶
func NewBufferPool ¶
func NewBufferPool() *BufferPool
func (*BufferPool) Get ¶
func (bp *BufferPool) Get() []byte
func (*BufferPool) GetAliveBuffers ¶
func (bp *BufferPool) GetAliveBuffers() int
func (*BufferPool) Put ¶
func (bp *BufferPool) Put(a []byte)
Click to show internal directories.
Click to hide internal directories.