bytesbuffer

package module
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2022 License: MIT Imports: 2 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() *bytes.Buffer

New returns a new bytes.Buffer.

func NewBytes

func NewBytes(buf []byte) *bytes.Buffer

NewBytes returns a new bytes.Buffer using buf as its initial contents.

func NewString

func NewString(s string) *bytes.Buffer

NewString returns a new bytes.Buffer using s as its initial contents.

func Reuse

func Reuse(b *bytes.Buffer)

Reuse returns the given bytes.Buffer to a pool ready for reuse.

Types

This section is empty.

Jump to

Keyboard shortcuts

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