Memory File Format
------------------

The memory file starts with a 22 byte header, followed by a sequence of entries for the stored frequencies:

Header
Frequency 1
Frequency 2
Frequency 3
etc.

The header is an ASCII string "WinRadio Memory File" followed by characters 26 and 0.

Individual frequency entries have the following format:

2 bytes     Memory number
4 bytes     High part of frequency (in multiples of 100 Hz)
2 bytes     Group flags (16 bits for the 16 groups)
1 byte      Mode (0 = SSB/CW, 1 = USB, 2 = FMN, 3 = FMW, 4 = AM, 5 = LSB)
1 byte      Scan lockout (if non-zero, this frequency will be excluded from memory scanning)
2 bytes     Low part of frequency in Hz (0 to 99)
1 byte      Length of Callsign string
n bytes     The Callsign string, length specified by previous byte (not null terminated)
1 byte      Length of the comment string
n bytes     The comment string, length specified by previous byte (not null terminated)

Note: The above format must be adhered to. Unexpected effects may occur if a non-compliant file 
created by a third-party application program is loaded. However, this can not damage the receiver.
