这几天想做一个CHM文件的Java读写库,困困研读这种非公开的文件格式. 参考了一篇外国人写的文档 Microsoft’s HTML Help (.chm) format

按照其规律一步步构建POJO, 结果被一个ENCINT类型难住了,实在搞不懂如何解析,呜呜:

原文: ` Encoded Integers

An ENCINT is a variable-length integer. The high bit of each byte indicates “continued to the next byte”. Bytes are stored most significant to least significant. So, for example, $EA $15 is (((0xEA&0x7F)< <7)|0x15) = 0x3515. `

严重崩溃中, 求帮助啊!!`



blog comments powered by Disqus

Published

2011-03-28 12:39:57

Categories


Tags

Fork me on GitHub