Versions in this module Expand all Collapse all v1 v1.0.0 Jan 29, 2024 Changes in this version + func Put(buf *Buffer) + type Buffer struct + func Get(length int) *Buffer + func NewBuffer(buf []byte) *Buffer + func NewBufferString(s string) *Buffer + func (b *Buffer) Bytes() []byte + func (b *Buffer) Cap() int + func (b *Buffer) Grow(n int) + func (b *Buffer) Len() int + func (b *Buffer) Next(n int) []byte + func (b *Buffer) Read(p []byte) (n int, err error) + func (b *Buffer) ReadByte() (byte, error) + func (b *Buffer) ReadBytes(delim byte) (line []byte, err error) + func (b *Buffer) ReadFrom(r io.Reader) (n int64, err error) + func (b *Buffer) ReadRune() (r rune, size int, err error) + func (b *Buffer) ReadString(delim byte) (line string, err error) + func (b *Buffer) Reset() + func (b *Buffer) ResetBuf(buf []byte) + func (b *Buffer) String() string + func (b *Buffer) Truncate(n int) + func (b *Buffer) UnreadByte() error + func (b *Buffer) UnreadRune() error + func (b *Buffer) Write(p []byte) (n int, err error) + func (b *Buffer) WriteByte(c byte) error + func (b *Buffer) WriteRune(r rune) (n int, err error) + func (b *Buffer) WriteString(s string) (n int, err error) + func (b *Buffer) WriteTo(w io.Writer) (n int64, err error) + type Pool struct + ServePctile float64 + func (p *Pool) Get() *Buffer + func (p *Pool) New() *Buffer + func (p *Pool) Put(buf *Buffer) + func (p *Pool) UpdateLen(bufLen int)