Nebula
Protocol

ByteArrayComparer

Compares byte arrays by content: how a party without game types keys a map (the gateway's cache).

generated from the sources
public sealed class ByteArrayComparer : IEqualityComparer<byte[]>

Compares byte arrays by content: how a party without game types keys a map (the gateway's cache).

Fields

Instance

public static readonly ByteArrayComparer Instance = new ByteArrayComparer();

Methods

Equals

public bool Equals(byte[] a, byte[] b);

GetHashCode

public int GetHashCode(byte[] a);

On this page