ArrayExtensionsIsSequenceEqual Method |
Compares two byte arrays. Both arrays must have the same length and content.
Namespace: StreamCoders.HelpersAssembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntaxpublic static bool IsSequenceEqual(
this byte[] bufferA,
byte[] bufferB
)
<ExtensionAttribute>
Public Shared Function IsSequenceEqual (
bufferA As Byte(),
bufferB As Byte()
) As Boolean
public:
[ExtensionAttribute]
static bool IsSequenceEqual(
array<unsigned char>^ bufferA,
array<unsigned char>^ bufferB
)
[<ExtensionAttribute>]
static member IsSequenceEqual :
bufferA : byte[] *
bufferB : byte[] -> bool
Parameters
- bufferA
- Type: SystemByte
The array to compare to.
- bufferB
- Type: SystemByte
The array to compare to.
Return Value
Type:
Boolean
Returns true if equal, otherwise false.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also