Méthode | Description | |
---|---|---|
BytesOfLength ( int numBytes ) : byte[] |
Gets a random array of bytes of the specified length.
|
|
StringOfLength ( int numChars ) : string |
Gets a random string of the specified length.
|
public static BytesOfLength ( int numBytes ) : byte[] | ||
numBytes | int | Number of bytes to be returned. |
Résultat | byte[] |
public static StringOfLength ( int numChars ) : string | ||
numChars | int | Number of chars to be in the string. |
Résultat | string |