Strict Standards: Declaration of action_plugin_importoldindex::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /var/www/html/lib/plugins/importoldindex/action.php on line 8

Strict Standards: Declaration of action_plugin_popularity::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /var/www/html/lib/plugins/popularity/action.php on line 57

Strict Standards: Declaration of action_plugin_safefnrecode::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /var/www/html/lib/plugins/safefnrecode/action.php on line 66

Strict Standards: Declaration of action_plugin_importoldchangelog::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /var/www/html/lib/plugins/importoldchangelog/action.php on line 182

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/lib/plugins/importoldindex/action.php:8) in /var/www/html/inc/actions.php on line 180
 cor4app_format [Cor4 WIki]

This is an old revision of the document!


A forráskód formátuma

A forráskód két részre osztható:

  • a fejléc (header), ami fixen 32 byte és mindig tömörítetlen
  • az adat szekció, ami lehet tömörített és tömörítetlen egyaránt

Fejléc

összesen 32 byte, mindig tömörítetlen

  • verziószám: 4 byte (1.2.3.4)
  • flags: 1 byte
    • 0. bit: az adat szekció tömörített vagy sem
  • reserved: 27 byte

Adatok

Vezérlő elemek

  • vezérlő neve: <string>
  • értéke: <string>

első szekció: képek

kép tipusa: 1 byte (gif, jpeg, png stb)
név hossza: 2 byte
kép neve:   n byte
kép mérete: 4 byte
kép adat:   n byte

egyetlen 0 byte zárja

második szekció: PHP file-ok

név hossza:  2 byte
file neve:   n byte
file mérete: 4 byte
file adatai: n byte

két darab 0 byte zárja

harmadik szekció: XML file-ok

név hossza:  2 byte
file neve:   n byte
file mérete: 4 byte
file adatai: n byte

két darab 0 byte zárja

cor4app_format.1122708703.txt.gz · Last modified: 2021/01/05 11:55 (external edit)