Companion

object Companion

Functions

Link copied to clipboard

Answer a mutable copy of object that also only holds 21-bit characters.

Link copied to clipboard
fun generateTwentyOneBitString(size: Int, generator: (Int) -> Int): AvailObject

Create an object of the appropriate size, whose descriptor is an instance of TwentyOneBitStringDescriptor. This can store any Unicode character, including those from the Supplemental Planes. Run the generator for each position in ascending order to produce the code points with which to populate the string.