LONG
PCast constant for a long
To cast from a long:
val castByte = (PCast.LONG shl 4) or [to]
Content copied to clipboard
You can also use the cast constants: PCast.BYTE_TO_LONG, PCast.SHORT_TO_LONG, PCast.INT_TO_LONG, PCast.LONG_TO_LONG, PCast.LONG_TO_UBYTE, PCast.LONG_TO_USHORT, PCast.LONG_TO_UINT, PCast.LONG_TO_ULONG, PCast.LONG_TO_FLOAT, PCast.LONG_TO_DOUBLE
To cast from a long:
val castByte = ([from] shl 4) or PCast.LONG
Content copied to clipboard
You can also use the cast constants: PCast.BYTE_TO_LONG, PCast.SHORT_TO_LONG, PCast.INT_TO_LONG, PCast.LONG_TO_LONG, PCast.UBYTE_TO_LONG, PCast.USHORT_TO_LONG, PCast.UINT_TO_LONG, PCast.ULONG_TO_LONG, PCast.FLOAT_TO_LONG, PCast.DOUBLE_TO_LONG
Get more information about the cast byte in the PCast Bytecode Specification
Since
0.1.0