Function caerEventPacketGetSizeEvents

Function Documentation

static inline int64_t caerEventPacketGetSizeEvents(caerEventPacketHeaderConst header)

Get the full size of an event packet, in bytes, up to its last actual event. This means only up to EventNumber, not up to EventCapacity. This includes both the header and the data portion.

Parameters:

header – a valid EventPacket header pointer. Cannot be NULL.

Returns:

the event packet size in bytes (up to event number).