1
0
mirror of https://github.com/charlienet/go-mixed.git synced 2025-07-18 00:22:41 +08:00
Files
go-mixed/bytePool/byte_pool_test.go
2022-03-27 10:18:50 +08:00

12 lines
173 B
Go

package bytecache
import "testing"
func TestByteCache(t *testing.T) {
bp := NewBytePool(512, 1024, 1024)
buffer := bp.Get()
defer bp.Put(buffer)
t.Log(len(buffer))
}