Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MultithreadedJSBook/code-samples
/
Class
ch6-ring-buffer/ring-buffer.js:1–1 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
class
RingBuffer {
2
constructor(meta/*: Uint32Array[3]*/, buffer /*: Uint8Array */) {
3
this.meta = meta;
4
this.buffer = buffer;
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected