→Header: Document what the 'unknown' byte in the header does
Line 27:
Line 27:
** byte compression: 'U' or 'C': Uncompressed or Compressed body (typically C for binary files)
** byte compression: 'U' or 'C': Uncompressed or Compressed body (typically C for binary files)
** if version >= 4:
** if version >= 4:
−
*** byte unknown: 'R' or 'E': unknown purpose (typically R for binary files)
+
*** byte editState: 'R' or 'E': flag used in some chunks (some body chunks are only saved when the flag is set to 'E', like collector icon fid chunk. typically R for binary files)
** uint32 classID (class ID of main class instance)
** uint32 classID (class ID of main class instance)