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