From: Svetlin A. <gal...@gm...> - 2010-10-14 21:54:54
|
I am making a j2me reader, that will support epub books. Thus, I decided to use jazzlib for the unpacking. It was really easy to port it to j2me. The only thing needed was to implement some sort of RandomAccessFile. It was even easier for the fact that this kind of class had only to read in a random fashion, but not write. Well, I made my own class (called it, RandomReadingFile) and - voila - all worked. However, I am experiencing some trouble. When unpacking larger files, from some point on their contents get mixed up. The strange thing is that: 1. For small files this problem doesn't exist 2. If the zip archive that's being read is build without using compression (i.e. it's only an archive), all files are read ok. I'd be very grateful, if you could point me in some direction. I really have no idea as to what might be causing it. It looks like the dictionary gets somehow mixed up and starts degenerating the content Any help will be highly appreciated! |