func NewSlicePool() *SlicePool {
	sizes := make([]int, 0, maxShift-minShift+1)
	for i := minShift; i <= maxShift; i++ {
		sizes = append(sizes, 1<<uint(i))
	}
	p := &SlicePool{
		*NewBytesPool(sizes),
	}
	return p
}
newSlicePool returns SlicePool
Deprecated
instead by NewBytesPool
package gxbytes
const (
	minShift = 6
	maxShift = 18
)
var defaultSlicePool *SlicePool
func init() {
	defaultSlicePool = NewSlicePool()
}
type SlicePool struct {
	BytesPool
}