예제 #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="buffer"></param>
 /// <returns></returns>
 public static byte[] GetCrc16Bytes(byte[] buffer)
 {
     return(Crc16Hash.makeCrc16(buffer));
 }
예제 #2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="buffer"></param>
        /// <returns></returns>
        public static string GetCrc16String(byte[] buffer)
        {
            var buffer1 = Crc16Hash.makeCrc16(buffer);

            return(BitConverter.ToString(buffer1));
        }