UnicodeGenerator

A string generator that emits valid unicodeGenerator codepoints.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun ofCodePointsLength(r: Random, minCodePoints: Int, maxCodePoints: Int): String
Link copied to clipboard
open override fun ofCodeUnitsLength(r: Random, minCodeUnits: Int, maxCodeUnits: Int): String
Link copied to clipboard
fun ofStringLength(r: Random, minCodeUnits: Int, maxCodeUnits: Int): String

An alias for ofCodeUnitsLength.

Link copied to clipboard
fun ofUtf8Length(r: Random, minUtf8Length: Int, maxUtf8Length: Int): String

Returns a random string that will have a random UTF-8 representation length between minUtf8Length and maxUtf8Length.