docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetRawAddressBytes

    SetRawAddressBytes(NativeArray<byte>, NetworkFamily)

    Directly sets the raw bytes of the endpoint using the specified bytes and family.

    Declaration
    public void SetRawAddressBytes(NativeArray<byte> bytes, NetworkFamily family = NetworkFamily.Ipv4)
    Parameters
    Type Name Description
    NativeArray<byte> bytes

    Raw bytes to use for the endpoint.

    NetworkFamily family

    Endpoint's address family.

    Exceptions
    Type Condition
    InvalidOperationException

    Length of bytes doesn't match family.

    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)