Tunstall编码原理详见 Prof. Jim Massey’s notes 。仅考虑K=2的情况。详情见ReadMe。
Based on Prof. Jim Massey’s notes on Tunstall codes, implement (in whichever programming language you find comfortable with) a binary Tunstall codec (encoder/decoder) and test its performance using randomly generated source symbol strings.