| 341 | } |
| 342 | |
| 343 | static 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 | |
| 350 | static char *application_text_copy(const uint8_t *bytes, uint32_t length) { |
| 351 | if (!bytes || length == 0 || memchr(bytes, '\0', length) != NULL) { |
no outgoing calls
no test coverage detected