public static byte[] XMLToBase64Binary(XmlNode xmlTree, string encoding, string byteorder, bool bBOM) { return(XmlTreeOperations.SaveXmlBinary((XmlDocument)xmlTree, encoding, System.String.Compare(byteorder, "big endian", true) == 0, bBOM, false)); }
public static byte[] XMLToBase64Binary(XmlNode xmlTree, string encoding) { return(XmlTreeOperations.SaveXmlBinary((XmlDocument)xmlTree, encoding, false)); }