Table of Contents

Class ByteArrayExtensions

Namespace
FishMMO.Shared
Assembly
FishMMO-SharedUtility.dll

Extension methods for byte arrays, providing high-performance comparison functionality.

public static class ByteArrayExtensions
Inheritance
ByteArrayExtensions
Inherited Members

Methods

ContentEquals(byte[], byte[])

Determines whether two byte arrays have equal content. Utilizes optimized memory comparison for high-performance MMO networking tasks.

public static bool ContentEquals(this byte[] first, byte[] second)

Parameters

first byte[]

The first byte array.

second byte[]

The second byte array to compare against.

Returns

bool

True if arrays are equal in length and content; otherwise, false.