Class NufxLzw1InputStream
- All Implemented Interfaces:
Closeable, AutoCloseable
NufxLzw1InputStream reads a data fork or
resource fork written in the NuFX LZW/1 format.
The layout of the LZW/1 data is as follows:
| "Fork" Header | ||
|---|---|---|
| +0 | Word | CRC-16 of the uncompressed data within the thread |
| +2 | Byte | Low-level volume number use to format 5.25" disks |
| +3 | Byte | RLE character used to decode this thread |
| Each subsequent 4K chunk of data | ||
| +0 | Word | Length after RLE compression (if RLE is not used, length will be 4096 |
| +2 | Byte | A $01 indicates LZW applied to this chunk; $00 that LZW was not applied to this chunk |