Property | Type | Description | |
---|---|---|---|
AttributeType | STUNv2AttributeTypesEnum | ||
Value | byte[] |
Method | Description | |
---|---|---|
ParseMessageAttributes ( byte buffer, int startIndex, int endIndex ) : List |
||
STUNv2Attribute ( STUNv2AttributeTypesEnum attributeType, byte value ) : NUnit.Framework | ||
STUNv2Attribute ( STUNv2AttributeTypesEnum attributeType, int value ) : NUnit.Framework | ||
STUNv2Attribute ( STUNv2AttributeTypesEnum attributeType, ushort value ) : NUnit.Framework | ||
ToByteBuffer ( byte buffer, int startIndex ) : int | ||
ToString ( ) : string |
public static ParseMessageAttributes ( byte buffer, int startIndex, int endIndex ) : List |
||
buffer | byte | |
startIndex | int | |
endIndex | int | |
return | List |
public STUNv2Attribute ( STUNv2AttributeTypesEnum attributeType, byte value ) : NUnit.Framework | ||
attributeType | STUNv2AttributeTypesEnum | |
value | byte | |
return | NUnit.Framework |
public STUNv2Attribute ( STUNv2AttributeTypesEnum attributeType, int value ) : NUnit.Framework | ||
attributeType | STUNv2AttributeTypesEnum | |
value | int | |
return | NUnit.Framework |
public STUNv2Attribute ( STUNv2AttributeTypesEnum attributeType, ushort value ) : NUnit.Framework | ||
attributeType | STUNv2AttributeTypesEnum | |
value | ushort | |
return | NUnit.Framework |
public ToByteBuffer ( byte buffer, int startIndex ) : int | ||
buffer | byte | |
startIndex | int | |
return | int |
public STUNv2AttributeTypesEnum AttributeType | ||
return | STUNv2AttributeTypesEnum |