Registry / utility / armon-circbuf

armon-circbuf

JSON →
library0.0.0-20190214190532-5111143e8da2gogounverified

Provides a fixed-size circular buffer for efficient byte storage and retrieval.

go get github.com/armon/circbuf
INSTALL
IMPORT
SIG · ARMON-CIRCBUF
A
armon-circbuf
utilitygov0.0.0-20190214190532-5111143e8da2
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.

circbuf
github.com/armon/circbuf

Creates a circular buffer, writes data, and prints its contents.

package main import ( "fmt" "github.com/armon/circbuf" ) func main() { buf, _ := circbuf.NewBuffer(64) buf.Write([]byte("hello")) fmt.Println(buf.String()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20190214190532-5111143e8da2latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
16
OpenAI (training)
2
Resources
armon-circbuf — go get armon-circbuf · libregistry