MCPcopy Index your code
hub / github.com/MultithreadedJSBook/code-samples / ring-buffer.js

File ring-buffer.js

ch6-ring-buffer/ring-buffer.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1class RingBuffer {
2 constructor(meta/*: Uint32Array[3]*/, buffer /*: Uint8Array */) {
3 this.meta = meta;
4 this.buffer = buffer;

Callers

nothing calls this directly

Calls 2

writeMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected