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

Method parseKey

src/ringbuffer.js:388–390  ·  view source on GitHub ↗

* Parse key-only message (connected, end, close) * @param {Buffer} payload * @returns {string} - key

(payload)

Source from the content-addressed store, hash-verified

386 * @returns {string} - key
387 */
388 parseKey(payload) {
389 return payload.toString('utf8');
390 }
391
392 /**
393 * Parse TCP error message

Callers 1

pollNetResponsesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected