C# Class Avro.Test.RandomDataHelper

Afficher le fichier Open project: thirumg/Avro.NET

Méthodes publiques

Méthode Description
GetBytes ( int length ) : byte[]
GetBytes ( int min, int max ) : byte[]
GetRandomBool ( ) : bool
GetRandomFloat ( ) : float
GetRandomInt32 ( ) : int
GetRandomInt64 ( ) : long
GetString ( int min, int max ) : string

Method Details

GetBytes() public static méthode

public static GetBytes ( int length ) : byte[]
length int
Résultat byte[]

GetBytes() public static méthode

public static GetBytes ( int min, int max ) : byte[]
min int
max int
Résultat byte[]

GetRandomBool() public static méthode

public static GetRandomBool ( ) : bool
Résultat bool

GetRandomFloat() public static méthode

public static GetRandomFloat ( ) : float
Résultat float

GetRandomInt32() public static méthode

public static GetRandomInt32 ( ) : int
Résultat int

GetRandomInt64() public static méthode

public static GetRandomInt64 ( ) : long
Résultat long

GetString() public static méthode

public static GetString ( int min, int max ) : string
min int
max int
Résultat string