toUByteOrNull
@ExperimentalUnsignedTypes fun String.toUByteOrNull(): UByte?
Parses the string as an UByte number and returns the result
or null
if the string is not a valid representation of a number.
@ExperimentalUnsignedTypes fun String.toUByteOrNull(
radix: Int
): UByte?