MCPcopy Create free account
hub / github.com/deepclause/agentvm / constructor

Method constructor

src/ringbuffer.js:59–64  ·  view source on GitHub ↗
(sharedBuffer)

Source from the content-addressed store, hash-verified

57 */
58class RingBufferWriter {
59 constructor(sharedBuffer) {
60 this.buffer = sharedBuffer;
61 this.int32 = new Int32Array(sharedBuffer);
62 this.uint8 = new Uint8Array(sharedBuffer);
63 this.dataView = new DataView(sharedBuffer);
64 }
65
66 /**
67 * Get available space in the ring buffer

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected