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

Function runtime_put_u32

src/daemon/runtime.c:385–390  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

383}
384
385static void runtime_put_u32(uint8_t *out, uint32_t value) {
386 out[0] = (uint8_t)(value >> 24);
387 out[1] = (uint8_t)(value >> 16);
388 out[2] = (uint8_t)(value >> 8);
389 out[3] = (uint8_t)value;
390}
391
392static uint32_t runtime_get_u32(const uint8_t *in) {
393 return ((uint32_t)in[0] << 24) | ((uint32_t)in[1] << 16) | ((uint32_t)in[2] << 8) |

Calls

no outgoing calls

Tested by

no test coverage detected