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>

Üres <string> zárja.

Képek

  • kép tipusa: 1 byte
    • 1: gif
    • 2: jpeg
    • 3: png
    • 4: bmp
  • kép neve: <string>
  • kép mérete: 4 byte
  • kép adat: n byte

Egyetlen 0 byte zárja

PHP file-ok

* file neve:   <string>
* file mérete: 4 byte
* file adatai: n byte

Üres <string> zárja.

Egyéb file-ok

* file neve:   <string>
* file mérete: 4 byte
* file adatai: n byte

Üres <string> zárja.


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