mirror of
https://github.com/ReVanced/revanced-patcher.git
synced 2024-11-10 01:02:22 +01:00
fix: set marklimit to Integer.MAX_VALUE
This commit is contained in:
parent
2fabbdf71b
commit
e6e468fbb5
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ internal class Io(
|
|||
private val bufferedInputStream = BufferedInputStream(input)
|
||||
|
||||
fun readFromJar() {
|
||||
bufferedInputStream.mark(0)
|
||||
bufferedInputStream.mark(Integer.MAX_VALUE)
|
||||
// create a BufferedInputStream in order to read the input stream again when calling saveAsJar(..)
|
||||
val jis = JarInputStream(bufferedInputStream)
|
||||
|
||||
|
|
Loading…
Reference in a new issue