STUN_AttributeParse Method |
Parses the raw byte array to a STUN Attribute
Namespace: Ozeki.NetworkAssembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax public static STUN_Attribute Parse(
byte[] data,
int offset,
MessageProtocol protocol,
byte[] transactionId
)
Public Shared Function Parse (
data As Byte(),
offset As Integer,
protocol As MessageProtocol,
transactionId As Byte()
) As STUN_Attribute
public:
static STUN_Attribute^ Parse(
array<unsigned char>^ data,
int offset,
MessageProtocol protocol,
array<unsigned char>^ transactionId
)
static member Parse :
data : byte[] *
offset : int *
protocol : MessageProtocol *
transactionId : byte[] -> STUN_Attribute
Parameters
- data
- Type: SystemByte
Raw data - offset
- Type: SystemInt32
The start index of the STUN attribute in the raw data - protocol
- Type: Ozeki.NetworkMessageProtocol
Message protocol used when parsing STUN message. - transactionId
- Type: SystemByte
Transaction ID
Return Value
Type:
STUN_AttributeSTUN attribute
See Also