Interface IUTF8Bytes | Collections | 0.12.0-preview.13
docs.unity.cn
    Show / Hide Table of Contents

    Interface IUTF8Bytes

    Interface marking this type as a run of UTF-8 encoded text.

    Namespace: Unity.Collections
    Syntax
    public interface IUTF8Bytes

    Properties

    IsEmpty

    Returns true if this IUTF8Bytes is empty.

    Declaration
    bool IsEmpty { get; }
    Property Value
    Type Description
    Boolean

    Methods

    GetUnsafePtr()

    Returns an unsafe byte pointer to the bytes in this IUTF8Bytes. Special care must be taken with the lifettime of this pointer, as it may point to stack memory.

    Declaration
    byte *GetUnsafePtr()
    Returns
    Type Description
    Byte*
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Thursday, August 13, 2020