mirror of
https://github.com/revanced/Apktool.git
synced 2025-06-12 13:17:43 +02:00
@ -42,11 +42,11 @@ public class ExtDataInput extends DataInputDelegate {
|
||||
skipBytes(4);
|
||||
}
|
||||
|
||||
public void skipCheckInt(int expected) throws IOException {
|
||||
public void skipCheckInt(int expected1, int expected2) throws IOException {
|
||||
int got = readInt();
|
||||
if (got != expected) {
|
||||
if (got != expected1 && got != expected2) {
|
||||
throw new IOException(String.format(
|
||||
"Expected: 0x%08x, got: 0x%08x", expected, got));
|
||||
"Expected: 0x%08x or 0x%08x, got: 0x%08x", expected1, expected2, got));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user