Remove non-referenced method

This commit is contained in:
de4dot 2012-11-22 05:50:15 +01:00
parent 3a519b51d8
commit fd129aa3c0

View File

@ -189,19 +189,6 @@ namespace de4dot.code.deobfuscators {
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) {
byte b = data[index++];
if ((b & 0x80) == 0)