ULONG
PCast constant for an unsigned long
To cast from an unsigned long:
val castByte = (PCast.ULONG shl 4) or [to]
Content copied to clipboard
You can also use the cast constants: PCast.BYTE_TO_ULONG, PCast.SHORT_TO_ULONG, PCast.INT_TO_ULONG, PCast.LONG_TO_ULONG, PCast.UBYTE_TO_ULONG, PCast.USHORT_TO_ULONG, PCast.UINT_TO_ULONG, PCast.ULONG_TO_ULONG, PCast.FLOAT_TO_ULONG, PCast.DOUBLE_TO_ULONG
To cast from an unsigned long:
val castByte = ([from] shl 4) or PCast.ULONG
Content copied to clipboard
You can also use the cast constants: PCast.BYTE_TO_ULONG, PCast.SHORT_TO_ULONG, PCast.INT_TO_ULONG, PCast.LONG_TO_ULONG, PCast.UBYTE_TO_ULONG, PCast.USHORT_TO_ULONG, PCast.UINT_TO_ULONG, PCast.ULONG_TO_ULONG, PCast.FLOAT_TO_ULONG, PCast.DOUBLE_TO_ULONG
Get more information about the cast byte in the PCast Bytecode Specification
Since
0.1.0