private int _Compare ( [NotNull] byte[] firstArray, [NotNull] byte[] secondArray ) { MemoryStream firstStream = new MemoryStream(firstArray); MemoryStream secondStream = new MemoryStream(secondArray); int result = StreamUtility.CompareTo(firstStream, secondStream); return(result); }