throw new argumentnullexception("stringtodecompress", "you tried to use an empty string");
}
try
{
byte[] inarr = convert.frombase64string(stringtodecompress.trim());
outstring = encoding.unicode.getstring(decompress(inarr));
}
catch (nullreferenceexception nex)
{
return nex.message;
}