MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / fixed_wire_text

Function fixed_wire_text

tests/test_daemon_smoke.py:265–268  ·  view source on GitHub ↗
(value, capacity)

Source from the content-addressed store, hash-verified

263
264
265def fixed_wire_text(value, capacity):
266 encoded = value.encode("ascii")
267 check(len(encoded) < capacity, "rendezvous text exceeds fixed capacity")
268 return encoded + b"\0" * (capacity - len(encoded))
269
270
271def decode_fixed_wire_text(payload, offset, capacity):

Callers 1

Calls 1

checkFunction · 0.70

Tested by

no test coverage detected