Documentation
¶
Overview ¶
Package bufpool - All credits go to https://github.com/valyala/bytebufferpool. This package uses []byte instead.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Pool ¶
type Pool struct { DisableCalibration bool // contains filtered or unexported fields }
Pool represents byte buffer pool.
Distinct pools may be used for distinct types of byte buffers. Properly determined byte buffer types with their own pools may help to reduce memory waste.
Click to show internal directories.
Click to hide internal directories.