Thread: C2 Geodata
View Single Post
Old 26.05.2005, 20:06   #21
tontor
Архивный участник
 
Join Date: May 2005
Posts: 109
Default

The first dword is the size of all the cell data counted in 16bit words. The second dword is the number of zone record+fixed size data blocks, which is subtracted from 65536 to get the number of variable length data blocks. The third dword is the zone record count.

Zone records have the format 00 00 ?? ?? ?? ??.
Fixed size data blocks have the format 40 00 followed by 64 16bit words.
Variable length data blocks have the format ?? 00 followed by 64 16bit-length/data pairs where the length specifies the number of data words. For example, 01 00 ?? ?? 02 00 ?? ?? ?? ?? 03 00 ?? ?? ?? ?? ?? ?? etc.
tontor is offline