From 35f6431f4790c4478e7ea2439f32938fee507b09 Mon Sep 17 00:00:00 2001 From: serturx Date: Mon, 3 Oct 2022 10:24:21 +0200 Subject: [PATCH] Add algoritm description --- misc/run_length_encoding | Bin 16472 -> 0 bytes misc/run_length_encoding.c | 17 +++++++++++++---- 2 files changed, 13 insertions(+), 4 deletions(-) delete mode 100755 misc/run_length_encoding diff --git a/misc/run_length_encoding b/misc/run_length_encoding deleted file mode 100755 index b3229343ac1b7b04a606aad1bdd9d6e3109431e6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 16472 zcmeHO4Qw366`r#bFeQndkU)M4xw;8TN^{92CJE4h6K9h(a(-~^(o}`@-rd@FaDTbm ziyZ{5k%7iFmK>?HR4r0KNJOPoQ>j7$g1C@02@(ZIR453wO`@i?%TJ9d)U+kn_h#N( z?=5!)Ra8~08*A^)``+)q{qgMX%(t|bO;tXh;8rbe6v*|?R7fKU9$rfwAdO19eky{?$si*bcJ;E=4S{Sbuu`UgdHG?((`NJ5 zb^&hkh*23uRj=aNAIfHv9Q8A`wc)cr9q;N~_ttY$zS_~!c6ipSsDpW<4eDS+f0Ux+ zv0n=t>Zp3$D{;iIow8m|s9xz`4d7WNM2pMdH(gTKrnrkW3QGSKDgads>=9q&|k6ZVUJ--FY*T0B5} zZhq_%^t?}*3%+mi{i=fwS`Xb98TS)j)2Iv?Xa4j}3dd`Pb3^2e3&-n^+lULlltG|l zE_{XypK#%PEuwfY;TJ<6&lPS%E}ZWfD0|q2)4wEXvfqWP>t1;};KDHmw}UR6Yk{&u zE*uK&w7d)doP!E+(uGfR;lnN*4rrxSDp09Fr2>@-R4P!Z!2eJM-mAUpZ+hQbHTuBR z*Ov>S-=DXu3d4Hev6`cDFACST0z6(=yaPz>LV@~Gl#Gv_EffkvlE;C~_~(2S3o4vzzw@zGnD zhitEu*=`gvU*I1JVD^*zLmqz6!{6`W@A2?C51;VxmWRL1!?(Nn;M>jpr*7B#&*^=? zAKTuh1@pld^}%%y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KqIcY{qlTPLrJHf}NAvLcsSC+2#_Zw1`vlRgp>4 z{4o3!jBQL2Ij+Vo&sD?uoY*=DV0=F%!g=SV7Ca*m<@i?-&wB9TMeZNeRYLG_M)Dox z55B6gTw1~~UGmqH{6pet_sRQbM|d8$*W(I0-i<`J6YU_HCfZAMi0FQz2Z`p1di{SA z&+{ZVH#J@FU(z1RCGDI)7!0fotXLMjE+_fmQbPWPGd!QCh<6KK6+CV}kUU6*^^?M7 zKuhW4ajg<{;vlUhyi|$Ye5W6Hy3p-sJ_36xIXKvH}PCq;&!KUN^m`Slx=4 zwkc$RXn8`h+_OZ%5jMb1xz<5AxJnwGs`Urx6qZAH(9AKK7p6q8Foq z?4E>ehC~2%QPC*(V0nj?NsB--Wm|!+WG;}-q|&fvWRD99~XBm_WV4+v=@sD4RgdU?>~>rV}RjMkL~&S zg6TPsxf{82Ap9$Io$Ml;Z$FV>2JpO0eNcP_R2^NFU!J4u?KaViY zlOo6W?*I46ego-sU?6Br#}q5j9&6^ce-tpR3Hx{cU()|ge(nPm*}TX9M}WHR{ba}V zAlWe?u@mMAkNq$yFlGI6_UPXo{|p&0-Oq+Z*&oxVJ@&jFndw=2j$k)z$NcjidmcA3 z<>zYF_tx*1WY5Q6_(_xK?T$d_WYdGLjy(DL*Lk#XNu1oc<%CH;^!1z*Uame z>9TO_`8Ylawpc&5=l2Qeae|=^10(yT}uvo>4dowg!oL!`SAT0pSL-8xBa08#XawF W&T&~6AFoT -#include -#include -#include +#include //For printf +#include //For string functions like strlen +#include //For malloc/free +#include //For assert /** * @brief Encodes a null-terminated string using run-length encoding