toByte

abstract fun toByte(): Byte

Unwraps the value contained within this BigInt as a Byte value.

If this BigInt value is greater than Byte.MAX_VALUE or is less than Byte.MIN_VALUE, an exception will be thrown.

Return

The value contained within this BigInt as a Byte value.