00001 /* rle - byte oriented run length encoding. 00002 * 00003 * This file is copyright 2002 Jim Kent, but license is hereby 00004 * granted for all use - public, private or commercial. */ 00005 00006 #ifndef RLE_H 00007 #define RLE_H 00008 00009 int rleCompress(void *in, int inSize, signed char *out); 00010 /* Compress in to out. Out should be at least inSize * 1.5. 00011 * Returns compressed size. */ 00012 00013 void rleUncompress(signed char *in, int inSize, void *out, int outSize); 00014 /* Uncompress in to out. */ 00015 00016 #endif /* RLE_H */
1.5.2