★ PROGRAMMER'S GUIDE ★ Compression / decompression library
Start ... A A A B C C C C D D D ...
Exit start ··· A A A B C D E F G G G ······
Exit start ··· A A A B C C D D E E E ······
End Start ・ ・ ・ A A A B C C D D D E F F ・ ・ ・ ・
end| Processing unit | Image of compression processing unit for input data |
|---|---|
| BYTE (1 byte) | ![]() |
| WORD (2 bytes) | ![]() |
| DWORD (4 bytes) | ![]() |
Equivalent to 1 byte.
| Consecutive length (matching series length) | Mismatch series length |
|---|---|---|
Expression (description) | Expression (description) | |
BYTE 1 byte | ![]() | ![]() |
WORD 2 bytes | ![]() | ![]() |
DWORD 4 bytes | ![]() | ![]() |
Figure 1.2 Run-length / mismatch series processing 
![]() | ・ ・ ・ ・ Matched series value or mismatched series value (uncompressed data) |
![]() | ・ ・ ・ ・ Continuous length or mismatched series length. ・ ・ ・ ・ Continuous length width. Equal to the processing unit. |
★ PROGRAMMER'S GUIDE ★ Compression / decompression library