pool

package
v0.2.27 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const BufferSize = 4096

BufferSize is the default buffer size for streaming operations

Variables

This section is empty.

Functions

func GetBuffer

func GetBuffer() *[]byte

GetBuffer returns a buffer from the pool

func PutBuffer

func PutBuffer(buf *[]byte)

PutBuffer returns a buffer to the pool

Types

This section is empty.

Jump to

Keyboard shortcuts

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