C# Class Fuzzer.DataGenerators.RandomByteGenerator

Inheritance: IDataGenerator
Exibir arquivo Open project: areiter/InMemoryFuzzing

Public Methods

Method Description
GenerateData ( ) : byte[]
RandomByteGenerator ( ) : System

Call the setup method to initialize the generator

RandomByteGenerator ( int minLen, int maxLen, ByteType byteType, IDataGeneratorLenType lenType ) : System
SetLogger ( DataGeneratorLogger logger ) : void
Setup ( string>.IDictionary config ) : void

Private Methods

Method Description
GenerateBytes ( byte data ) : void
Init ( int minLen, int maxLen, ByteType byteType, IDataGeneratorLenType lenType ) : void
Init ( int minLen, int maxLen, ByteType byteType, string lenType ) : void

Method Details

GenerateData() public method

public GenerateData ( ) : byte[]
return byte[]

RandomByteGenerator() public method

Call the setup method to initialize the generator
public RandomByteGenerator ( ) : System
return System

RandomByteGenerator() public method

public RandomByteGenerator ( int minLen, int maxLen, ByteType byteType, IDataGeneratorLenType lenType ) : System
minLen int
maxLen int
byteType ByteType
lenType IDataGeneratorLenType
return System

SetLogger() public method

public SetLogger ( DataGeneratorLogger logger ) : void
logger Fuzzer.DataLoggers.DataGeneratorLogger
return void

Setup() public method

public Setup ( string>.IDictionary config ) : void
config string>.IDictionary
return void