package bufferpool
import "github.com/gohugoio/hugo/bufferpool"
Package bufferpool provides a pool of bytes buffers.
Index ¶
Functions ¶
func GetBuffer ¶
GetBuffer returns a buffer from the pool.
func PutBuffer ¶
PutBuffer returns a buffer to the pool. The buffer is reset before it is put back into circulation.
Source Files ¶
- Version
- v0.144.2 (latest)
- Published
- Feb 19, 2025
- Platform
- linux/amd64
- Imports
- 2 packages
- Last checked
- 13 hours ago –
Tools for package owners.