{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Method EqualsUTF8Bytes | Collections | 2.3.0-pre.3
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method EqualsUTF8Bytes

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

    Returns true if two UTF-8 buffers have the same length and content.

    Declaration
    public static bool EqualsUTF8Bytes(byte* aBytes, int aLength, byte* bBytes, int bLength)
    Parameters
    Type Name Description
    byte* aBytes

    The first buffer of UTF-8 text.

    int aLength

    The length in bytes of the first buffer.

    byte* bBytes

    The second buffer of UTF-8 text.

    int bLength

    The length in bytes of the second buffer.

    Returns
    Type Description
    bool

    True if the content of both strings is identical.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)