buf

package
v0.8.7 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2025 License: Unlicense, MIT Imports: 1 Imported by: 0

Documentation

Overview

Package buf implements a simple concurrent safe buffer pool for raw bytes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pool

type Pool struct{}

func (Pool) Get

func (bp Pool) Get() []byte

func (Pool) Put

func (bp Pool) Put(b []byte)

Jump to

Keyboard shortcuts

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