Example #1
0
 public static byte[] string2bytes(string source)
 {
     if (source == null || source == "")
     {
         return(new byte[0]);
     }
     return(BytesStringConverter.string2bytes(source));
 }
Example #2
0
 public static string bytes2String(byte[] source)
 {
     return(BytesStringConverter.bytes2String(source));
 }