private string DecodeWBXML(byte[] wbxml) { try { ASWBXML decoder = new ASWBXML(); decoder.LoadBytes(wbxml); return(decoder.GetXml()); } catch (Exception ex) { throw ex; } }
private byte[] EncodeXMLString(string stringXML) { try { ASWBXML encoder = new ASWBXML(); encoder.LoadXml(stringXML); return(encoder.GetBytes()); } catch (Exception ex) { throw ex; } }