Struct NetworkInterfaceEndPoint
Representation of an endpoint, to be used internally by INetworkInterface.
Implements
Inherited Members
Namespace: Unity.Networking.Transport
Assembly: solution.dll
Syntax
public struct NetworkInterfaceEndPoint : IEquatable<NetworkInterfaceEndPoint>
Fields
| Name | Description |
|---|---|
| data | Raw representation of the interface endpoint. |
| dataLength | Actual length of the interface endpoint's raw representation. |
| k_MaxLength | Maximum length of the interface endpoint's raw representation. |
Properties
| Name | Description |
|---|---|
| IsValid | Whether the interface endpoint is valid or not. |
Methods
| Name | Description |
|---|---|
| Equals(object) | Indicates whether this instance and a specified object are equal. |
| Equals(NetworkInterfaceEndPoint) | Indicates whether the current object is equal to another object of the same type. |
| GetHashCode() | Returns the hash code for this instance. |
| ToFixedString() | Returns the NetworkInterfaceEndPoint as a FixedString64Bytes. |
| ToString() | Returns the NetworkInterfaceEndPoint as a string. |
Operators
| Name | Description |
|---|---|
| operator ==(NetworkInterfaceEndPoint, NetworkInterfaceEndPoint) | |
| operator !=(NetworkInterfaceEndPoint, NetworkInterfaceEndPoint) |