BeRTOS
|
General-purpose run-length {en,de}coding algorithm (implementation) More...
#include "rle.h"
Go to the source code of this file.
Functions | |
int | rle (unsigned char *output, const unsigned char *input, int len) |
Run-length encode len bytes from the input buffer to the output buffer. | |
int | unrle (unsigned char *output, const unsigned char *input) |
Run-length decode from the input buffer to the output buffer. |
General-purpose run-length {en,de}coding algorithm (implementation)
Original source code from http://www.compuphase.com/compress.htm
Definition in file rle.c.