type Pool struct {
// contains filtered or unexported fields
}
Pool is a wrapper around sync.Pool with a helper Release method on returned objects.
Objects in the Pool are Buffers which are wrapper of a slice with a pointer to the Pool object.
Get a new Buffer from the pool. datalen must not exceed buffer length given in constructor.
You should release the Buffer after your work is done by calling Buffer.Release.