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

Function application_put_u32

src/daemon/application.c:343–348  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

341}
342
343static void application_put_u32(uint8_t *bytes, uint32_t value) {
344 bytes[0] = (uint8_t)(value >> 24);
345 bytes[1] = (uint8_t)(value >> 16);
346 bytes[2] = (uint8_t)(value >> 8);
347 bytes[3] = (uint8_t)value;
348}
349
350static char *application_text_copy(const uint8_t *bytes, uint32_t length) {
351 if (!bytes || length == 0 || memchr(bytes, '\0', length) != NULL) {

Calls

no outgoing calls

Tested by

no test coverage detected