syncbuffer

package
v1.16.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Buffer

type Buffer struct {
	// contains filtered or unexported fields
}

Buffer wraps around a bytes.Buffer and makes it safe to use from multiple goroutines.

func (*Buffer) Bytes

func (sb *Buffer) Bytes() []byte

func (*Buffer) Reset

func (sb *Buffer) Reset()

func (*Buffer) String

func (sb *Buffer) String() string

func (*Buffer) Write

func (sb *Buffer) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL