Function caerEventPacketContainerGetEventPacket

Function Documentation

static inline caerEventPacketHeader caerEventPacketContainerGetEventPacket(caerEventPacketContainerConst container, int32_t n)

Get the pointer to the EventPacket stored in this container at the given index.

Parameters:
  • container – a valid EventPacketContainer handle. If NULL, returns NULL too.

  • n – the index of the EventPacket to get.

Returns:

a pointer to an EventPacket or NULL on error.