Companion

object Companion

Functions

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

Create an object of the appropriate size, whose descriptor is an instance of ByteTupleDescriptor. Run the generator for each position in ascending order to produce the unsigned bytes (as Ints in the range [0..255]) with which to populate the tuple.

Link copied to clipboard

Build a mutable byte tuple with the specified number of zeroed elements.