Thread: Kobo Patcher
View Single Post
Old 10-04-2013, 11:35 AM   #244
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by PeterT View Post
Any tricks you can share on how you track down the compressed data?
Sure. The data is compressed by zlib. The compression level is "default compression." This means the compressed blocks start with the byte sequence 78 9C. Since zlib does not indicate the size of the compressed block, one starts decompressing at this position and continues until an error occurs. If there is no resulting data, 78 9C did not actually introduce compressed data in that case.
tshering is offline   Reply With Quote