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

Function runtime_put_u32

src/daemon/runtime.c:278–283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

276}
277
278static void runtime_put_u32(uint8_t *out, uint32_t value) {
279 out[0] = (uint8_t)(value >> 24);
280 out[1] = (uint8_t)(value >> 16);
281 out[2] = (uint8_t)(value >> 8);
282 out[3] = (uint8_t)value;
283}
284
285static uint32_t runtime_get_u32(const uint8_t *in) {
286 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