LZSS Compression: Difference between revisions

Jump to navigation Jump to search
>Aruki
(Adding syntax highlighting)
>Aruki
Line 80: Line 80:
== Example C Decompression Function ==
== Example C Decompression Function ==


<syntaxhighlight lang="c">bool DecompressLZSS(char *src, unsigned long src_len, char *dst, unsigned long dst_len)
<syntaxhighlight lang="c" line start="1">bool DecompressLZSS(char *src, unsigned long src_len, char *dst, unsigned long dst_len)
{
{
     char *src_end = src + src_len;
     char *src_end = src + src_len;
Anonymous user

Navigation menu