C# Class Avro.Test.RandomDataHelper

Show file Open project: thirumg/Avro.NET

Public Methods

Method 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 method

public static GetBytes ( int length ) : byte[]
length int
return byte[]

GetBytes() public static method

public static GetBytes ( int min, int max ) : byte[]
min int
max int
return byte[]

GetRandomBool() public static method

public static GetRandomBool ( ) : bool
return bool

GetRandomFloat() public static method

public static GetRandomFloat ( ) : float
return float

GetRandomInt32() public static method

public static GetRandomInt32 ( ) : int
return int

GetRandomInt64() public static method

public static GetRandomInt64 ( ) : long
return long

GetString() public static method

public static GetString ( int min, int max ) : string
min int
max int
return string