Versions in this module Expand all Collapse all v0 v0.2.0 May 10, 2024 v0.1.0 Aug 26, 2023 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