Bytecode
Type | Description |
u1 | castore opcode = 0x55 (85) |
Stack ..., arrayref, index, value => ...
Description
Pops a 32-bit integer from the stack, truncates it to a 16-bit
unsigned value, and stores it in an array of characters.
The arrayref must be of type reference
and must refer to an array
whose components are of type char
.
The index and the value must both be of type int
.
The arrayref, index, and value are popped from the operand stack.
The int
value is truncated to a char
and stored as the
component of the array indexed by index.
Exceptions
NullPointerException - arrayref is null
ArrayIndexOutOfBoundsException - index is < 0 or >= arrayref.length