Documentation
¶
Index ¶
- type Buf
- func (buf *Buf) Cap() int
- func (buf *Buf) Free()
- func (buf *Buf) Grow(n int)
- func (buf *Buf) Len() int
- func (buf *Buf) Read(b []byte) (n int, err error)
- func (buf *Buf) ReadFrom(r io.Reader) (n int64, err error)
- func (buf *Buf) Reset()
- func (buf *Buf) ToBytes(free ...bool) []byte
- func (buf *Buf) ToColorBytes(colors color.Colors, free ...bool) []byte
- func (buf *Buf) ToColorString(colors color.Colors, free ...bool) string
- func (buf *Buf) ToString(free ...bool) string
- func (buf *Buf) Write(b []byte) (n int, err error)
- func (buf *Buf) WriteByte(b byte) *Buf
- func (buf *Buf) WriteBytes(b []byte) *Buf
- func (buf *Buf) WriteColor(b any, colors ...color.Color) *Buf
- func (buf *Buf) WriteRune(r rune) *Buf
- func (buf *Buf) WriteString(src string) *Buf
- func (buf *Buf) WriteTo(w io.Writer, free ...bool) (n int64, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Buf ¶
type Buf struct {
// contains filtered or unexported fields
}
func (*Buf) WriteBytes ¶
func (*Buf) WriteString ¶
Click to show internal directories.
Click to hide internal directories.