Remove non-referenced method
This commit is contained in:
parent
3a519b51d8
commit
fd129aa3c0
|
@ -189,19 +189,6 @@ namespace de4dot.code.deobfuscators {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
//TODO: Remove this method
|
|
||||||
public static int readVariableLengthInt32(BinaryReader reader) {
|
|
||||||
byte b = reader.ReadByte();
|
|
||||||
if ((b & 0x80) == 0)
|
|
||||||
return b;
|
|
||||||
if ((b & 0x40) == 0)
|
|
||||||
return (((int)b & 0x3F) << 8) + reader.ReadByte();
|
|
||||||
return (((int)b & 0x3F) << 24) +
|
|
||||||
((int)reader.ReadByte() << 16) +
|
|
||||||
((int)reader.ReadByte() << 8) +
|
|
||||||
reader.ReadByte();
|
|
||||||
}
|
|
||||||
|
|
||||||
public static int readVariableLengthInt32(byte[] data, ref int index) {
|
public static int readVariableLengthInt32(byte[] data, ref int index) {
|
||||||
byte b = data[index++];
|
byte b = data[index++];
|
||||||
if ((b & 0x80) == 0)
|
if ((b & 0x80) == 0)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user