Versions in this module Expand all Collapse all v0 v0.0.4 Jun 30, 2024 Changes in this version + func Init(cfg PoolConfig) + type Buffer struct + Buf []byte + func (b *Buffer) AppendByte(data byte) + func (b *Buffer) AppendBytes(data []byte) + func (b *Buffer) AppendString(data string) + func (b *Buffer) BuildBytes(reuse ...[]byte) []byte + func (b *Buffer) DumpTo(w io.Writer) (written int, err error) + func (b *Buffer) EnsureSpace(s int) + func (b *Buffer) ReadCloser() io.ReadCloser + func (b *Buffer) Size() int + type PoolConfig struct + MaxSize int + PooledSize int + StartSize int