package buffer
Import Path
log/slog/internal/buffer (on go.dev)
Dependency Relation
imports one package, and imported by 2 packages
Involved Source Files
Package buffer provides a pool-allocated byte buffer.
Package-Level Type Names (only one)
Buffer is a byte buffer.
This implementation is adapted from the unexported type buffer
in go/src/fmt/print.go.
(*Buffer) Free()
(*Buffer) Len() int
(*Buffer) Reset()
(*Buffer) SetLen(n int)
(*Buffer) String() string
(*Buffer) Write(p []byte) (int, error)
(*Buffer) WriteByte(c byte) error
(*Buffer) WriteString(s string) (int, error)
*Buffer : expvar.Var
*Buffer : fmt.Stringer
*Buffer : internal/bisect.Writer
*Buffer : io.ByteWriter
*Buffer : io.StringWriter
*Buffer : io.Writer
func New() *Buffer
The pages are generated with Golds v0.7.0-preview. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |