docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method LengthInUtf8Bytes

    LengthInUtf8Bytes()

    Returns the number of bytes required to encode this rune as UTF-8.

    Declaration
    public int LengthInUtf8Bytes()
    Returns
    Type Description
    int

    The number of bytes required to encode this rune as UTF-8. If the rune's codepoint is invalid, returns 4 (the maximum possible encoding length).

    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)