Byte offset | Instruction | Argument |
---|---|---|
0 | aload_0 | |
1 | invokespecial | Object.<init>():void |
4 | aload_0 | |
5 | aload_1 | |
6 | putfield | bytes |
9 | return |
public final int available()
Byte offset | Instruction | Argument |
---|---|---|
0 | aload_0 | |
1 | getfield | bytes |
4 | arraylength | |
5 | aload_0 | |
6 | getfield | index |
9 | isub | |
10 | ireturn |
public final byte getByte()
Byte offset | Instruction | Argument |
---|---|---|
0 | aload_0 | |
1 | getfield | bytes |
4 | aload_0 | |
5 | dup | |
6 | getfield | index |
9 | dup_x1 | |
10 | iconst_1 | |
11 | iadd | |
12 | putfield | index |
15 | baload | |
16 | ireturn |
public final int getIndex()
Byte offset | Instruction | Argument |
---|---|---|
0 | aload_0 | |
1 | getfield | index |
4 | ireturn |
public final byte readByte()
Byte offset | Instruction | Argument |
---|---|---|
0 | aload_0 | |
1 | getfield | bytes |
4 | aload_0 | |
5 | getfield | index |
8 | baload | |
9 | ireturn |
Byte offset | Instruction | Argument |
---|---|---|
0 | aload_0 | |
1 | iconst_0 | |
2 | putfield | index |
5 | return |