PeterAlfreadLee commented on issue #84: COMPRESS-477 Add support for extracting 
splitted zip files
URL: https://github.com/apache/commons-compress/pull/84#issuecomment-546759238
 
 
   @bodewig Thank you. Please take your time.
   
   > We could either allow people using ZipArchiveInputStream to signal it 
should skip the marker or provide a "collecting stream" that skipped the first 
four bytes if necessary.
   
   I prefer with the previous implemention by skipping the marker. I tested 
with the the second implemention of providing a "collecting stream" that 
skipped the first four bytes if necessary, and it doesn't work well and got 
garbled content when dealing with files that is located in 2 split segments. I 
don't know why it's like this, but I believe it's the `Inflater` in JVM has 
taken the marker into consideration.
   
   I will push the part of `ZipArchiveInputStream` and corresponding testcases 
in my branch today.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to