private static bool IsDIRC(byte[] header) { if (header.Length < SigDirc.Length) { return false; } for (int i = 0; i < SigDirc.Length; i++) { if (header[i] != SigDirc[i]) return false; } return true; }