go/src/log/slog/internal/buffer/buffer.go

type Buffer

var bufPool

func New() *Buffer {}

func (b *Buffer) Free() {}

func (b *Buffer) Reset() {}

func (b *Buffer) Write(p []byte) (int, error) {}

func (b *Buffer) WriteString(s string) (int, error) {}

func (b *Buffer) WriteByte(c byte) error {}

func (b *Buffer) String() string {}

func (b *Buffer) Len() int {}

func (b *Buffer) SetLen(n int) {}