Registry / utility / allenxuxu-ringbuffer

allenxuxu-ringbuffer

JSON →
library0.0.11gogounverified

Lock-free ring buffer implementation for Go.

go get github.com/Allenxuxu/ringbuffer
INSTALL
IMPORT
SIG · ALLENXUXU-RINGBUFF
A
allenxuxu-ringbuffer
utilitygov0.0.11
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.

ringbuffer
github.com/Allenxuxu/ringbuffer

Write and read from a ring buffer.

package main import ( "github.com/Allenxuxu/ringbuffer" ) func main() { rb := ringbuffer.New(1024) rb.Write([]byte("Hello")) buf := make([]byte, 5) rb.Read(buf) println(string(buf)) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
23 hits · last 30 days
node
20
Meta
1
OpenAI (training)
1
Resources
allenxuxu-ringbuffer — go get allenxuxu-ringbuffer · libregistry