| 421 | } |
| 422 | |
| 423 | static 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 | |
| 430 | static char *application_text_copy(const uint8_t *bytes, uint32_t length) { |
| 431 | if (!bytes || length == 0 || memchr(bytes, '\0', length) != NULL) { |
no outgoing calls
no test coverage detected