Rework encode to return pointer
This commit is contained in:
@@ -2,7 +2,7 @@ package pdu
|
||||
|
||||
import "sync"
|
||||
|
||||
var byteBufferPool = &BufferPoolManager{
|
||||
var ByteBufferPool = &BufferPoolManager{
|
||||
pools: make(map[int]*sync.Pool),
|
||||
mu: sync.Mutex{},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user