STUN_AttributeParse Method |
Parses the raw byte array to a STUN Attribute
Namespace: Ozeki.NetworkAssembly: OzekiSDK (in OzekiSDK.dll) Version: 10.4.54.0
Syntaxpublic 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 Byte
- Raw data
- offset Int32
- The start index of the STUN attribute in the raw data
- protocol MessageProtocol
- Message protocol used when parsing STUN message.
- transactionId Byte
- Transaction ID
Return Value
STUN_AttributeSTUN attribute
See Also