Companion

object Companion

Functions

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

Create an object of the appropriate size, whose descriptor is an instance of NybbleTupleDescriptor. Run the generator for each position in ascending order to produce the nybbles with which to populate the tuple.

Link copied to clipboard
fun getNybble(self: AvailObject, nybbleIndex: Int): Byte

Extract the nybble from the specified position of the nybble tuple.

Link copied to clipboard
fun mutableObjectOfSize(size: Int): AvailObject

Build a new object instance with room for size elements.

Properties