Remove encoding arg

This commit is contained in:
de4dot 2012-07-23 10:04:40 +02:00
parent 74aaf19257
commit ebbc8d2ab8

View File

@ -98,11 +98,11 @@ namespace de4dot.code.deobfuscators.MaxtoCode {
bytes[j] = b;
}
decryptedStrings[i] = decode(encoding, bytes);
decryptedStrings[i] = decode(bytes);
}
}
string decode(Encoding encoding, byte[] bytes) {
string decode(byte[] bytes) {
string s = encoding.GetString(bytes);
int len = s.Length;
if (len == 0 || s[len - 1] != 0)