Versions in this module Expand all Collapse all v1 v1.0.0 Apr 22, 2022 Changes in this version + var ErrBeyondBufferLen = errors.New("start beyond buffer length") + type Buffer struct + B []byte + func (buf *Buffer) Cap() int + func (buf *Buffer) Grow(sz int) + func (buf *Buffer) Guarantee(sz int) + func (buf *Buffer) Len() int + func (buf *Buffer) Reset() + func (buf *Buffer) String() string + func (buf *Buffer) Truncate(n int) + func (buf *Buffer) Write(b []byte) (int, error) + func (buf *Buffer) WriteAt(b []byte, start int64) (int, error) + func (buf *Buffer) WriteByte(c byte) error + func (buf *Buffer) WriteRune(r rune) (int, error) + func (buf *Buffer) WriteString(s string) (int, error) + func (buf *Buffer) WriteStringAt(s string, start int64) (int, error)