# bufferpool **Repository Path**: mirrors_lestrrat-go/bufferpool ## Basic Information - **Project Name**: bufferpool - **Description**: Very simple bytes.Buffer pool using sync.Pool - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-25 - **Last Updated**: 2026-07-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # bufferpool Very simple bytes.Buffer pool using sync.Pool. [![Build Status](https://travis-ci.org/lestrrat-go/bufferpool.svg?branch=master)](https://travis-ci.org/lestrrat-go/bufferpool) [![GoDoc](https://godoc.org/github.com/lestrrat-go/bufferpool?status.svg)](https://godoc.org/github.com/lestrrat-go/bufferpool) I got tired of writing the same sync.Pool for byte.Buffer objects. # SYNOPSIS ``` import "github.com/lestrrat-go/bufferpool" var pool = bufferpool.New() func main() { buf := pool.Get() defer pool.Release(buf) // ... } ```