Method SetRawAddressBytes
SetRawAddressBytes(NativeArray<byte>, NetworkFamily)
Set the raw representation of the endpoint's address and set its family. This is only useful for low-level code that must interface with native libraries, for example if writing a custom implementation of INetworkInterface.
Declaration
public void SetRawAddressBytes(NativeArray<byte> bytes, NetworkFamily family = NetworkFamily.Ipv4)
Parameters
Type | Name | Description |
---|---|---|
NativeArray<byte> | bytes | Raw representation of the endpoint. |
NetworkFamily | family | Address family of the raw representation. |