capacitor-dex-editor 0.0.20 → 0.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1774,9 +1774,9 @@ public class DexManager {
|
|
|
1774
1774
|
if (!entry.isDirectory()) {
|
|
1775
1775
|
java.io.InputStream is = originalZip.getInputStream(entry);
|
|
1776
1776
|
byte[] buf = new byte[8192];
|
|
1777
|
-
int
|
|
1778
|
-
while ((
|
|
1779
|
-
zos.write(buf, 0,
|
|
1777
|
+
int n;
|
|
1778
|
+
while ((n = is.read(buf)) != -1) {
|
|
1779
|
+
zos.write(buf, 0, n);
|
|
1780
1780
|
}
|
|
1781
1781
|
is.close();
|
|
1782
1782
|
}
|