This function reads and processes the header of a SeaSonde CS file. It initially reads
the general header (Version 1) to determine the file version. Subsequent headers are processed
based on the file version.
Usage
seasonder_readSeaSondeCSFileHeader(specs, connection, endian = "big")
Arguments
- specs
List of header specifications for each version.
- connection
The file connection.
- endian
Character string indicating the byte order, either "big" (default) or "little".
Value
A combined list of all processed headers up to the file version.