Write uint16_t value into memory buffer, see @ref CO_setUint8 */
| 636 | |
| 637 | /** Write uint16_t value into memory buffer, see @ref CO_setUint8 */ |
| 638 | static inline uint8_t |
| 639 | CO_setUint16(void* buf, uint16_t value) { |
| 640 | (void)memmove(buf, (const void*)&value, sizeof(value)); |
| 641 | return (uint8_t)(sizeof(value)); |
| 642 | } |
| 643 | |
| 644 | /** Write uint32_t value into memory buffer, see @ref CO_setUint8 */ |
| 645 | static inline uint8_t |
no outgoing calls
no test coverage detected