LZH --- LZH file header structure Byte number Value(s) Meaning -------------------------------------------------------------- 0 --- Header size 1 --- Cksum of remaining bytes 2-6 --- Method 7-10 --- Compressed size 11-14 --- Uncompressed size 15-16 --- Time format 17-18 --- Date format 19-20 --- File attribute 21-22 --- Filename/path length 23-XX --- Filename/path XX+1-XX+2 --- CRC-16 Compression method ------------------ -lh0- No compression used -lh1- LZW, 4K buffer, Huffman for upper 6 bits of pos -lz4- LZW, Arithmetic Encoding -lz5- LZW, Arithmetic Encoding