Skip to content

mdeyneka/RL-Encode-Decode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

RL-Encode-Decode

RL-Encode-Decode is simple realization of Run-length encoding/decoding algorithms. It use C++11

Code usage

For encode:

> std::string line = "WWWWWWWWWWWWBWWWWWWWWWWWWBBBWWWWWWWWWWWWWWWWWWWWWWWWBWWWWWWWWWWWWWW";
> std::string encoded = encode(line);

Result: 12W1B12W3B24W1B14W

For decode:

> std::string decoded = decode(encoded);

About

Simple run-rength encode/decode algorithms

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages