pool

package
v0.0.40 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2025 License: MPL-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 BufferPool

type BufferPool struct{ sync.Pool }

func NewBufferPool added in v0.0.28

func NewBufferPool() *BufferPool

func (*BufferPool) Get

func (bp *BufferPool) Get() []byte

func (*BufferPool) Put

func (bp *BufferPool) Put(b []byte)

Jump to

Keyboard shortcuts

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