Registry / utility / fixbuf

fixbuf

JSON →
library1.0.3gogounverified

A fixed-size buffer pool for efficient memory reuse in Go.

go get go.dedis.ch/fixbuf
INSTALL
IMPORT
SIG · FIXBUF
F
fixbuf
utilitygov1.0.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

fixbuf
go.dedis.ch/fixbuf

Create a fixed-size buffer pool, get and return a buffer.

package main import ( "fmt" "go.dedis.ch/fixbuf" ) func main() { pool := fixbuf.New(1024) buf := pool.Get() fmt.Println(len(buf)) pool.Put(buf) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.3latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
fixbuf — go get fixbuf · libregistry