Exemplo n.º 1
0
 /// <summary>
 /// Get the full-bytes of command.
 /// </summary>
 /// <returns></returns>
 public byte[] GetCommandBytes()
 {
     return(BytesHelper.Concat(new byte[] { Head, TransType, Key, DataLength }, Data, new[] { Tail }));
 }