repositorypackage
1.0.1
Repository: https://github.com/bluestorm001/bufferpool.git
Documentation: pkg.go.dev
# README
bufferPool
import (
"fmt"
"github.com/BlueStorm001/bufferPool"
)
func main() {
buff := bufferPool.NewDefault()
b := buff.Get()
//.......
b.Write([]byte("AAA")).Write([]byte("BBB"))
//.......
fmt.Println(b.Bytes())
//.......
buff.Put(b)
}