RandomStrings

A facade to various implementations of StringGenerator interface.

Functions

Link copied to clipboard
Link copied to clipboard
fun randomAsciiAlphanumOfLengthBetween(r: Random, minCodeUnits: Int, maxCodeUnits: Int): String
Link copied to clipboard
Link copied to clipboard
fun randomAsciiLettersOfLengthBetween(r: Random, minCodeUnits: Int, maxCodeUnits: Int): String
Link copied to clipboard
fun randomAsciiOfLength(r: Random, codeUnits: Int): String
Link copied to clipboard
fun randomAsciiOfLengthBetween(r: Random, minCodeUnits: Int, maxCodeUnits: Int): String
Link copied to clipboard
Link copied to clipboard
fun randomRealisticUnicodeOfLengthBetween(r: Random, minCodeUnits: Int, maxCodeUnits: Int): String
Link copied to clipboard
Link copied to clipboard
fun randomUnicodeOfCodepointLengthBetween(r: Random, minCodePoints: Int, maxCodePoints: Int): String
Link copied to clipboard
fun randomUnicodeOfLength(r: Random, codeUnits: Int): String
Link copied to clipboard
fun randomUnicodeOfLengthBetween(r: Random, minCodeUnits: Int, maxCodeUnits: Int): String