This commit is contained in:
pyihe
2022-04-28 15:09:19 +08:00
parent 32327dff31
commit 6c88f85bed
6 changed files with 51 additions and 50 deletions

View File

@@ -9,7 +9,7 @@ import (
type ByteBuffer = bytebufferpool.ByteBuffer
var (
Get = bytebufferpool.Get()
Get = bytebufferpool.Get
Put = func(b *ByteBuffer) {
if b != nil {
bytebufferpool.Put(b)