C# Class FileFind.Stun.Utility

显示文件 Open project: codebutler/meshwork

Public Methods

Method Description
IntegerToTwoBytes ( int integer ) : byte[]
TwoBytesToInteger ( byte bytes ) : int

Method Details

IntegerToTwoBytes() public static method

public static IntegerToTwoBytes ( int integer ) : byte[]
integer int
return byte[]

TwoBytesToInteger() public static method

public static TwoBytesToInteger ( byte bytes ) : int
bytes byte
return int