Kotlin HashSet toUByteArray()
Syntax & Examples


Syntax of HashSet.toUByteArray()

The syntax of HashSet.toUByteArray() extension function is:

fun Collection<UByte>.toUByteArray(): UByteArray

This toUByteArray() extension function of HashSet returns an array of UByte containing all of the elements of this collection.