Changes

547 bytes added ,  19:52, 17 September 2021
Created page with "'''GFCP''' is a container for compression. ==File Format== ===Header=== {| class="wikitable" border="1" ! Offset !! Size !! Type !! Description |- | 0x00 || 4 || char[4]..."
'''GFCP''' is a container for compression.

==File Format==

===Header===
{| class="wikitable" border="1"
! Offset !! Size !! Type !! Description
|-
| 0x00 || 4 || char[4] || Magic Word 'GFCP'
|-
| 0x04 || 4 || uint32 || Always 1
|-
| 0x08 || 4 || uint32 || Compression type/algorithm which was used to compress the data
|-
| 0x0C || 4 || uint32 || Raw/Uncompressed data size
|-
| 0x10 || 4 || uint32 || Compressed data size
|}

===Algorithms===
{| class="wikitable" border="1"
! ID !! Algorithm
|-
| 1 || byte pair encoding
|-
| 2 || lz77
|}
77

edits