UINT

const val UINT: UByte(source)

PCast constant for an unsigned int

To cast from an unsigned int:

val castByte = (PCast.UINT shl 4) or [to]

You can also use the cast constants: PCast.BYTE_TO_UINT, PCast.SHORT_TO_UINT, PCast.INT_TO_UINT, PCast.LONG_TO_UINT, PCast.UBYTE_TO_UINT, PCast.USHORT_TO_UINT, PCast.UINT_TO_UINT, PCast.ULONG_TO_UINT, PCast.FLOAT_TO_UINT, PCast.DOUBLE_TO_UINT

To cast from an unsigned int:

val castByte = ([from] shl 4) or PCast.UINT

You can also use the cast constants: PCast.BYTE_TO_UINT, PCast.SHORT_TO_UINT, PCast.INT_TO_UINT, PCast.LONG_TO_UINT, PCast.UBYTE_TO_UINT, PCast.USHORT_TO_UINT, PCast.UINT_TO_UINT, PCast.ULONG_TO_UINT, PCast.FLOAT_TO_UINT, PCast.DOUBLE_TO_UINT

Get more information about the cast byte in the PCast Bytecode Specification

Since

0.1.0