init of deob
This commit is contained in:
25
src/main/java/info/sigterm/deob/Interfaces.java
Normal file
25
src/main/java/info/sigterm/deob/Interfaces.java
Normal file
@@ -0,0 +1,25 @@
|
||||
package info.sigterm.deob;
|
||||
|
||||
import java.io.DataInputStream;
|
||||
import java.io.IOException;
|
||||
|
||||
public class Interfaces
|
||||
{
|
||||
private ClassFile classFile;
|
||||
|
||||
private int count;
|
||||
private int interfaces[];
|
||||
|
||||
Interfaces(ClassFile c) throws IOException
|
||||
{
|
||||
classFile = c;
|
||||
|
||||
DataInputStream is = c.getStream();
|
||||
|
||||
count = is.readUnsignedShort();
|
||||
interfaces = new int[count];
|
||||
|
||||
for (int i = 0; i < count; ++i)
|
||||
interfaces[i] = is.readUnsignedShort();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user