All data are written with network byte order which is, as used on the Internet, is Most Significant Byte first.
Each event independing on its origin is headed by two 32-bit words: 0xabcd28ef and length of event in bytes including these two words.