static bool IsEmptyLocate(byte[] array, byte[] candidate, int offset, int size) { return array == null || candidate == null || size == 0 || candidate.Length == 0 || candidate.Length > (size + offset); }