buffer

package
v0.0.0-...-e89a0ad Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloserBuffer

type CloserBuffer struct {
	*bytes.Buffer
}

CloserBuffer defines buffer which wraps bytes.Buffer and has dummy implementation of Closer interface.

func NewCloserBuffer

func NewCloserBuffer() *CloserBuffer

NewCloserBuffer builds CloserBuffer instance

func (*CloserBuffer) Close

func (cb *CloserBuffer) Close() error

Close is dummy function that implements Closer interface.

Jump to

Keyboard shortcuts

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