Crate lzw [−] [src]
Structs
Decoder |
Decodes a lzw compressed stream (this algorithm is used for GIF files). The maximum supported code length is 16 bits. The decoder assumes two special code word to be present in the stream: |
DecoderEarlyChange |
Decodes a lzw compressed stream using an “early change” algorithm (used in TIFF files). The maximum supported code length is 16 bits. The decoder assumes two special code word to be present in the stream: |
Encoder |
LZW encoder |
LsbReader |
Reads bits from a byte stream, LSB first. |
LsbWriter |
Writes bits to a byte stream, LSB first. |
MsbReader |
Reads bits from a byte stream, MSB first. |
MsbWriter |
Writes bits to a byte stream, MSB first. |
Traits
BitReader |
Bit reader |
BitWriter |
Bit writer |
Functions
encode |
Convenience function that reads and compresses all bytes from |