buf

package
v3.10.27 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2023 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Buffer

type Buffer struct {
	*bytes.Buffer
}

Buffer bytes.Buffer wrapper to satisfie io.Closer interface

func New

func New(b *bytes.Buffer) *Buffer

New creates new buffer that satisfies Closer interface

func (*Buffer) Close

func (b *Buffer) Close() error

Close reset buffer contents

Jump to

Keyboard shortcuts

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