kubernetes/staging/src/k8s.io/apimachinery/pkg/runtime/splice.go

type Splice

type spliceBuffer

func NewSpliceBuffer() Splice {}

// Splice implements the Splice interface.
func (sb *spliceBuffer) Splice(raw []byte) {}

// Write implements the io.Writer interface.
func (sb *spliceBuffer) Write(p []byte) (n int, err error) {}

// Reset resets the buffer to be empty.
func (sb *spliceBuffer) Reset() {}

// Bytes returns the data held by the buffer.
func (sb *spliceBuffer) Bytes() []byte {}