Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


EqualsUTF8Bytes(byte*, int, byte*, int)

Returns true if two UTF-8 buffers have the same length and content.
Read time 1 minuteLast updated 11 days ago

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public static bool EqualsUTF8Bytes(byte* aBytes, int aLength, byte* bBytes, int bLength)

Parameters

aBytes

The first buffer of UTF-8 text.

aLength

The length in bytes of the first buffer.

bBytes

The second buffer of UTF-8 text.

bLength

The length in bytes of the second buffer.

Returns

Type

Description

boolTrue if the content of both strings is identical.