You can find a table of event offset in the following documents:
- Platform Event Trap Format Specification v1.0
- Alert Standard Format (ASF) Specification v2.0
Your question is similar to this thread on the Forum:
For more complete information about compiler optimizations, see our Optimization Notice.