/// <summary> /// Check LLC bytes. /// </summary> /// <param name="server">Is server.</param> /// <param name="data">Received data.</param> private static bool GetLLCBytes(bool server, GXByteBuffer data) { if (server) { return data.Compare(GXCommon.LLCSendBytes); } return data.Compare(GXCommon.LLCReplyBytes); }