International Federation of Digital Seismograph Networks

Thread: move Flags header to beginning of header

Started: 2016-05-12 23:29:56
Last activity: 2016-05-12 23:29:56
Philip Crotwell
2016-05-12 23:29:56
The Flags header byte contains the byte ordering of the header. Since
the you need the byte order to extract the rest of the header, it
makes sense to move it to the front of the header so reading software
does not have to read ahead to get this value. Byte 4 seems the best
place, immediately after the header version field, but it should be at
least before the first multi-byte binary header field.