FortuneN / cordova-plugin-zeep

Zip compression/decompression for the cordova/phonegap platform
Apache License 2.0
28 stars 37 forks source link

Fix unzip on windows (fixes issue #16) #17

Closed Harha closed 6 years ago

Harha commented 6 years ago

No more NULL bytes in the output !

We don't need a byte[] between ZipArchiveEntry stream read and FileEntry stream write. We can just use the Stream Interface's 'CopyToAsync' -method.

Fixes https://github.com/FortuneN/cordova-plugin-zeep/issues/16

FYI @FortuneN

edit: For this to actually apply and work, do we need to rebuild the contents inside the bin directories under the windows visual studio project? I'll try to get my hands on a windows 10 machine and update those as well...