ScummVM API documentation
Ultima::Nuvie::U6Lzw Class Reference

Public Member Functions

unsigned char * decompress_buffer (unsigned char *source, uint32 source_length, uint32 &destination_length)
 
bool decompress_buffer (unsigned char *source, uint32 source_length, unsigned char *destination, uint32 destination_length)
 
unsigned char * decompress_file (const Common::Path &filename, uint32 &destination_length)
 
unsigned char * compress_buffer (unsigned char *src, uint32 src_len, uint32 &dest_len)
 
const char * strerror () const
 

Protected Member Functions

bool is_valid_lzw_file (NuvieIOFileRead *input_file)
 
bool is_valid_lzw_buffer (unsigned char *buf, uint32 length)
 
long get_uncompressed_file_size (NuvieIOFileRead *input_file)
 
long get_uncompressed_buffer_size (unsigned char *buf, uint32 length)
 
int get_next_codeword (long *bits_read, unsigned char *source, int codeword_size)
 
void output_root (unsigned char root, unsigned char *destination, long *position)
 
void get_string (int codeword)
 

The documentation for this class was generated from the following file: