docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method FromBytePointer

    FromBytePointer(byte*, int)

    Converts a byte pointer to a RelayAllocationId.

    Declaration
    public static RelayAllocationId FromBytePointer(byte* dataPtr, int length)
    Parameters
    Type Name Description
    byte* dataPtr

    The pointer to the data of the Allocation Id.

    int length

    The length of the data.

    Returns
    Type Description
    RelayAllocationId

    Returns a RelayAllocationId constructed from the provided data.

    Exceptions
    Type Condition
    ArgumentException

    Provided byte array length is invalid, must be {k_Length} but got {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)