Rework encode to return pointer

This commit is contained in:
PhatPhuckDave
2024-07-22 23:09:32 +02:00
parent 73cc49788f
commit 3d0d8ce676
3 changed files with 12 additions and 12 deletions

View File

@@ -2,7 +2,7 @@ package pdu
import "sync"
var byteBufferPool = &BufferPoolManager{
var ByteBufferPool = &BufferPoolManager{
pools: make(map[int]*sync.Pool),
mu: sync.Mutex{},
}