Versions in this module Expand all Collapse all v1 v1.0.2 Apr 25, 2024 v1.0.1 Apr 24, 2024 Changes in this version + const RelayBufferSize + const UDPBufferSize + func Get(size int) []byte + func GetBuffer() *bytes.Buffer + func Put(buf []byte) error + func PutBuffer(buf *bytes.Buffer) + type Allocator struct + func NewAllocator() *Allocator + func (alloc *Allocator) Get(size int) []byte + func (alloc *Allocator) Put(buf []byte) error