internal static string ToXmlZipStringBinary(T cryo) { byte[] input = GenericSerializationHelperClass <T> .ToBinary(cryo); byte[] inArray = IOTools.Compress(input); return(Convert.ToBase64String(inArray)); }
internal static string ToXmlZipString(T cryo) { string s = GenericSerializationHelperClass <T> .ToXmlString(cryo); byte[] bytes = Encoding.Unicode.GetBytes(s); byte[] inArray = IOTools.Compress(bytes); return(Convert.ToBase64String(inArray)); }
internal static string ToXmlZipStringBinary(T cryo) { return(Convert.ToBase64String(IOTools.Compress(GenericSerializationHelperClass <T> .ToBinary(cryo)))); }
internal static string ToXmlZipString(T cryo) { return(Convert.ToBase64String(IOTools.Compress(Encoding.Unicode.GetBytes(GenericSerializationHelperClass <T> .ToXmlString(cryo))))); }