toUByte

external fun toUByte(): UByte(source)

Converts this value to UByte.

Truncates towards zero and saturates to the UInt range; NaN becomes zero. Then retains the lowest 8 bits, interpreted as an unsigned UByte value.

Return

the converted UByte value.