C# 클래스 SharpPcap.Util.Rand

파일 보기 프로젝트 열기: Zepheus/Fiesta_Utils 1 사용 예제들

공개 메소드들

메소드 설명
CreateInstance ( ) : Rand
GetBytes ( byte bytes ) : byte[]
GetBytes ( int size ) : byte[]
GetDouble ( ) : double
GetInt ( ) : int
GetInt ( int max ) : int
GetInt ( int min, int max ) : int
GetLong ( ) : long
GetLong ( long max ) : long
GetLong ( long min, long max ) : long
GetSeed ( int numberOfBytes ) : byte[]

Returns the given number of seed bytes generated for the first running of a new instance of the random number generator.

메소드 상세

CreateInstance() 공개 정적인 메소드

public static CreateInstance ( ) : Rand
리턴 Rand

GetBytes() 공개 메소드

public GetBytes ( byte bytes ) : byte[]
bytes byte
리턴 byte[]

GetBytes() 공개 메소드

public GetBytes ( int size ) : byte[]
size int
리턴 byte[]

GetDouble() 공개 메소드

public GetDouble ( ) : double
리턴 double

GetInt() 공개 메소드

public GetInt ( ) : int
리턴 int

GetInt() 공개 메소드

public GetInt ( int max ) : int
max int
리턴 int

GetInt() 공개 메소드

public GetInt ( int min, int max ) : int
min int
max int
리턴 int

GetLong() 공개 메소드

public GetLong ( ) : long
리턴 long

GetLong() 공개 메소드

public GetLong ( long max ) : long
max long
리턴 long

GetLong() 공개 메소드

public GetLong ( long min, long max ) : long
min long
max long
리턴 long

GetSeed() 공개 정적인 메소드

Returns the given number of seed bytes generated for the first running of a new instance of the random number generator.
public static GetSeed ( int numberOfBytes ) : byte[]
numberOfBytes int Number of seed bytes to generate.
리턴 byte[]