package iobufpool
import "github.com/jackc/pgx/v5/internal/iobufpool"
Package iobufpool implements a global segregated-fit pool of buffers for IO.
Index ¶
Functions ¶
func Get ¶
Get gets a []byte of len size with cap <= size*2.
func Put ¶
func Put(buf []byte)
Put returns buf to the pool.
Source Files ¶
- Version
- v5.0.0-alpha.5
- Published
- Jul 16, 2022
- Platform
- js/wasm
- Imports
- 1 packages
- Last checked
- 9 minutes ago –
Tools for package owners.