C# Class STUN.Misc

Show file Open project: RELOAD-NET/RELOAD.NET

Public Methods

Method Description
CompareByteArrays ( Byte a, Byte b ) : bool
GetRandomUInt64 ( ) : System.UInt64
GetUTF8LengthFromString ( String input ) : int

Method Details

CompareByteArrays() public static method

public static CompareByteArrays ( Byte a, Byte b ) : bool
a Byte
b Byte
return bool

GetRandomUInt64() public static method

public static GetRandomUInt64 ( ) : System.UInt64
return System.UInt64

GetUTF8LengthFromString() public static method

public static GetUTF8LengthFromString ( String input ) : int
input String
return int