public static bool SequenceEqual(this byte[] array, int offset, byte[] other, int otherOffset, int count) { if (array == null) { throw new ArgumentNullException("array"); } return(ByteArrayExtensions.Compare(array, offset, other, otherOffset, count) == 0); }