mirror of
https://github.com/ReVanced/revanced-patcher.git
synced 2026-01-20 09:53:55 +00:00
fix: set marklimit to Integer.MAX_VALUE
This commit is contained in:
@@ -20,7 +20,7 @@ internal class Io(
|
|||||||
private val bufferedInputStream = BufferedInputStream(input)
|
private val bufferedInputStream = BufferedInputStream(input)
|
||||||
|
|
||||||
fun readFromJar() {
|
fun readFromJar() {
|
||||||
bufferedInputStream.mark(0)
|
bufferedInputStream.mark(Integer.MAX_VALUE)
|
||||||
// create a BufferedInputStream in order to read the input stream again when calling saveAsJar(..)
|
// create a BufferedInputStream in order to read the input stream again when calling saveAsJar(..)
|
||||||
val jis = JarInputStream(bufferedInputStream)
|
val jis = JarInputStream(bufferedInputStream)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user