Start...A A A B C C C C D D D ・・・・・・
End Start...A A A B C D E F G G G...
End Start...A A A B C 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) | ![]() |
| Run length (matching series length) | mismatched sequence length |
|---|---|---|
expression (description) | expression (description) | |
BYTE1 byte | ![]() | ![]() |
WORD2 bytes | ![]() | ![]() |
DWORD4 bytes | ![]() | ![]() |
Figure 1.2 Run length/mismatch sequence processing
![]() | ... Matching series value or mismatching series value (uncompressed data) |
![]() | ...Run length or unmatched sequence length. ・ ...Run length width. Equals processing unit. |
★ PROGRAMMER'S GUIDE ★ Compression/decompression library
is equivalent to 1 byte.