docs.unity.cn
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)