Example #1
0
 public static DateTime GetDateTime(byte[] buf)
 {
     return(GetDateTime(BCDCoder.GetString(buf)));
 }
Example #2
0
 /// <summary>
 /// BCD形式的byte数组转换成字符串
 /// </summary>
 /// <param name="byteArray"></param>
 /// <returns></returns>
 public static string GetString(byte[] byteArray)
 {
     return(BCDCoder.GetString(byteArray, 0, byteArray.Length));
 }