阅读背景:

将ascii字节串打包成bitmap / bitstring回字符串?

来源:互联网 

I have a string that is packed such that each character was originally an unsigned byte but is stored as 7 bits and then packed into an unsigned byte array. I'm trying to find a quick way to unpack this string in Python but the function I wrote that uses the bitstring module works well but is very slow. It seems like something like this should not be so slow but I'm probably doing it very inefficiently...I have a string that is packed such that each c




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: