private static string smethod_0(BinaryReader A_0) { string str = Class813.smethod_6(A_0); int index = str.IndexOf('\0'); if (index >= 0) { return(str.Substring(0, index)); } return(str); }