Versions in this module Expand all Collapse all v1 v1.19.0 Nov 25, 2023 Changes in this version + const RelayBufferSize + const UDPBufferSize + func Get(size int) []byte + func GetBuffer() *bytes.Buffer + func GetBytesBuffer() *protobytes.BytesWriter + func Put(buf []byte) error + func PutBuffer(buf *bytes.Buffer) + func PutBytesBuffer(buf *protobytes.BytesWriter) + type Allocator struct + func NewAllocator() *Allocator + func (alloc *Allocator) Get(size int) []byte + func (alloc *Allocator) Put(buf []byte) error