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

Function application_put_u32

src/daemon/application.c:423–428  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

421}
422
423static void application_put_u32(uint8_t *bytes, uint32_t value) {
424 bytes[0] = (uint8_t)(value >> 24);
425 bytes[1] = (uint8_t)(value >> 16);
426 bytes[2] = (uint8_t)(value >> 8);
427 bytes[3] = (uint8_t)value;
428}
429
430static char *application_text_copy(const uint8_t *bytes, uint32_t length) {
431 if (!bytes || length == 0 || memchr(bytes, '\0', length) != NULL) {

Calls

no outgoing calls

Tested by

no test coverage detected