Class ByteArrayEqualityComparer
The Byte
Inheritance
System.Object
ByteArrayEqualityComparer
Namespace: LambdaSharp.DynamoDB.Serialization.Utility
Assembly: LambdaSharp.DynamoDB.Serialization.dll
Syntax
public class ByteArrayEqualityComparer : IEqualityComparer<byte[]>
Fields
Instance
The Instance class field exposes a reusable instance of the Byte
Declaration
public static readonly ByteArrayEqualityComparer Instance
Field Value
Type | Description |
---|---|
Byte |
Methods
Equals(Byte[], Byte[])
Determines whether the specified objects are equal.
Declaration
public bool Equals(byte[] left, byte[] right)
Parameters
Type | Name | Description |
---|---|---|
System. |
left | The first object of type T to compare. |
System. |
right | The second object of type T to compare. |
Returns
Type | Description |
---|---|
System. |
|
GetHashCode(Byte[])
Returns a hash code for the specified object.
Declaration
public int GetHashCode(byte[] obj)
Parameters
Type | Name | Description |
---|---|---|
System. |
obj | The System.Object for which a hash code is to be returned. |
Returns
Type | Description |
---|---|
System. |
A hash code for the specified object. |