_mdns_append_u8() function
appends byte in a packet, incrementing the index
Syntax
static inline uint8_t _mdns_append_u8(uint8_t *packet,
uint16_t *index,
uint8_t value);
Arguments
index
offset in the packet
Return value
length of added data: 0 on error or 1 on success