C# Class NLight.Core.StrongRandom

显示文件 Open project: slorion/nlight

Public Methods

Method Description
NextBytes ( int count ) : byte[]
NextBytes ( byte buffer, int offset, int count ) : void
NextInt32 ( int max ) : int
NextInt32 ( int min, int max ) : int
NextInt64 ( long max ) : long
NextInt64 ( long min, long max ) : long

Method Details

NextBytes() public static method

public static NextBytes ( int count ) : byte[]
count int
return byte[]

NextBytes() public static method

public static NextBytes ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
return void

NextInt32() public static method

public static NextInt32 ( int max ) : int
max int
return int

NextInt32() public static method

public static NextInt32 ( int min, int max ) : int
min int
max int
return int

NextInt64() public static method

public static NextInt64 ( long max ) : long
max long
return long

NextInt64() public static method

public static NextInt64 ( long min, long max ) : long
min long
max long
return long