public static byte[] EncodeResponseMessage(RESPONSE_MESSAGE responseMessage)
{
List<byte> list = new List<byte>();
list.AddRange(GetBytesFromUint32(responseMessage.TransportHeader.Size, false));
list.Add((byte)responseMessage.ResponseCode);
return list.ToArray();
}