C: run-length-encoding

This commit is contained in:
2021-09-10 18:21:53 +02:00
parent 9a3d216a65
commit 67b2d3ec40
9 changed files with 544 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
#ifndef RUN_LENGTH_ENCODING_H
#define RUN_LENGTH_ENCODING_H
int encode_len(const char *str);
char *encode(const char *text);
int decode_len(const char *str);
char *decode(const char *data);
#endif
#include "br-common.h"