Function caerEventPacketClean

Function Documentation

static inline void caerEventPacketClean(caerEventPacketHeader packet)

Clean a packet by removing all invalid events, so that the total number of events is the number of valid events. The packet’s capacity doesn’t change.

Parameters:

packet – an event packet to clean.