import "github.com/v2ray/v2ray-core/common/bytespool"
Alloc returns a byte slice with at least the given size. Minimum size of returned slice is 2048.
v2ray:api:stable
Free puts a byte slice into the internal pool.
v2ray:api:stable
GetPool returns a sync.Pool that generates bytes array with at least the given size. It may return nil if no such pool exists.
v2ray:api:stable
Package bytespool imports 1 packages (graph). Updated 2019-01-21. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).