International Federation of Digital Seismograph Networks

Thread: move Flags header to beginning of header

None
Started: May 12, 2016, 4:29 p.m.
Last activity: May 12, 2016, 4:29 p.m.
Philip Crotwell
May 12, 2016, 4:29 p.m.
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.

thanks
Philip