bytepools

package
v0.0.0-...-9b3b26b Latest Latest
Warning

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

Go to latest
Published: Jul 23, 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 BytePools

type BytePools struct {
	// contains filtered or unexported fields
}

func NewBytePools

func NewBytePools() *BytePools

func (*BytePools) Get

func (p *BytePools) Get(size int) interface{}

func (*BytePools) GetBytePool

func (p *BytePools) GetBytePool(size int) ([]byte, func())

func (*BytePools) GetMaxBytePool

func (p *BytePools) GetMaxBytePool() ([]byte, func())

func (*BytePools) MakeValue

func (p *BytePools) MakeValue(v []byte) ([]byte, func())

func (*BytePools) Put

func (p *BytePools) Put(x []byte)

func (*BytePools) PutBytePool

func (p *BytePools) PutBytePool(v []byte)

Jump to

Keyboard shortcuts

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