From e25eda14d16544e366164c501e4a668f1a6ebfd9 Mon Sep 17 00:00:00 2001 From: boyce Date: Mon, 14 Dec 2020 14:28:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=BD=91=E7=BB=9C=E5=86=85?= =?UTF-8?q?=E5=AD=98=E6=B1=A0=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- network/slicepool.go | 2 +- network/tcp_msg.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/network/slicepool.go b/network/slicepool.go index e1a904b..7d4d663 100644 --- a/network/slicepool.go +++ b/network/slicepool.go @@ -62,7 +62,7 @@ func (areaPool *memAreaPool) releaseByteSlice(byteBuff []byte) bool{ return true } -func makeByteSlice(size int) []byte{ +func MakeByteSlice(size int) []byte{ for i:=0;i