开发者

Need to store variable length bit code in the stl::bitset

开发者 https://www.devze.com 2023-03-11 06:00 出处:网络
I am working on compression 开发者_如何学Pythonof file.I have generated codes in binary form for distinct symbols exist in file, using shannon fano algorithm and i want to store these codes in bitset.

I am working on compression 开发者_如何学Pythonof file.I have generated codes in binary form for distinct symbols exist in file, using shannon fano algorithm and i want to store these codes in bitset. Codes are resides in map.Now my problem is, as the codes for different symbol are of different length, how i will do this?


Boost.DynamicBitset.

0

精彩评论

暂无评论...
验证码 换一张
取 消