public class com.oracle.truffle.js.codec.BinaryDecoder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.oracle.truffle.js.codec.BinaryDecoder
super_class: java.lang.Object
{
private java.nio.ByteBuffer buffer;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0002) ACC_PRIVATE
public void <init>(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
invokevirtual java.nio.ByteBuffer.duplicate:()Ljava/nio/ByteBuffer;
getstatic java.nio.ByteOrder.LITTLE_ENDIAN:Ljava/nio/ByteOrder;
invokevirtual java.nio.ByteBuffer.order:(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;
putfield com.oracle.truffle.js.codec.BinaryDecoder.buffer:Ljava/nio/ByteBuffer;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/js/codec/BinaryDecoder;
0 3 1 buffer Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
buffer
private int getU1();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.codec.BinaryDecoder.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.get:()B
invokestatic java.lang.Byte.toUnsignedInt:(B)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/codec/BinaryDecoder;
private long getSV();
descriptor: ()J
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=6, args_size=1
start local 0 0: lconst_0
lstore 1
start local 1 1: iconst_0
istore 3
start local 3 2: StackMap locals: long int
StackMap stack:
aload 0
invokevirtual com.oracle.truffle.js.codec.BinaryDecoder.getU1:()I
i2l
lstore 4
start local 4 3: lload 1
lload 4
ldc 127
land
iload 3
lshl
lor
lstore 1
4: iinc 3 7
5: lload 4
ldc 128
land
lconst_0
lcmp
ifne 2
6: lload 4
ldc 64
land
lconst_0
lcmp
ifeq 8
iload 3
bipush 64
if_icmpge 8
7: lload 1
ldc -1
iload 3
lshl
lor
lstore 1
8: StackMap locals: long
StackMap stack:
lload 1
lreturn
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/oracle/truffle/js/codec/BinaryDecoder;
1 9 1 result J
2 9 3 shift I
3 9 4 b J
public int getInt();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.oracle.truffle.js.codec.BinaryDecoder.getSV:()J
l2i
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/codec/BinaryDecoder;
private long getUV();
descriptor: ()J
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=6, args_size=1
start local 0 0: lconst_0
lstore 1
start local 1 1: iconst_0
istore 3
start local 3 2: StackMap locals: long int
StackMap stack:
aload 0
invokevirtual com.oracle.truffle.js.codec.BinaryDecoder.getU1:()I
i2l
lstore 4
start local 4 3: lload 1
lload 4
ldc 127
land
iload 3
lshl
lor
lstore 1
4: iinc 3 7
5: lload 4
ldc 128
land
lconst_0
lcmp
ifne 2
6: lload 1
lreturn
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/oracle/truffle/js/codec/BinaryDecoder;
1 7 1 result J
2 7 3 shift I
3 7 4 b J
public int getUInt();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.oracle.truffle.js.codec.BinaryDecoder.getUV:()J
l2i
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/codec/BinaryDecoder;
public long getLong();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.oracle.truffle.js.codec.BinaryDecoder.getSV:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/codec/BinaryDecoder;
public java.lang.String getUTF8();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.lang.String
dup
aload 0
invokevirtual com.oracle.truffle.js.codec.BinaryDecoder.getByteArray:()[B
getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
invokespecial java.lang.String.<init>:([BLjava/nio/charset/Charset;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/codec/BinaryDecoder;
public byte[] getByteArray();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual com.oracle.truffle.js.codec.BinaryDecoder.getUInt:()I
istore 1
start local 1 1: iload 1
newarray 8
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 6
4: StackMap locals: int byte[] int
StackMap stack:
aload 2
iload 3
aload 0
invokevirtual com.oracle.truffle.js.codec.BinaryDecoder.getU1:()I
i2b
bastore
5: iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
iload 1
if_icmplt 4
end local 3 7: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/oracle/truffle/js/codec/BinaryDecoder;
1 8 1 size I
2 8 2 array [B
3 7 3 i I
public java.math.BigInteger getBigInteger();
descriptor: ()Ljava/math/BigInteger;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=1
start local 0 0: getstatic java.math.BigInteger.ZERO:Ljava/math/BigInteger;
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: StackMap locals: java.math.BigInteger int
StackMap stack:
aload 0
invokevirtual com.oracle.truffle.js.codec.BinaryDecoder.getU1:()I
i2l
lstore 3
start local 3 3: aload 1
lload 3
ldc 127
land
invokestatic java.math.BigInteger.valueOf:(J)Ljava/math/BigInteger;
iload 2
invokevirtual java.math.BigInteger.shiftLeft:(I)Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.or:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
astore 1
4: iinc 2 7
5: lload 3
ldc 128
land
lconst_0
lcmp
ifne 2
6: lload 3
ldc 64
land
lconst_0
lcmp
ifeq 8
7: aload 1
invokevirtual java.math.BigInteger.negate:()Ljava/math/BigInteger;
astore 1
8: StackMap locals: long
StackMap stack:
aload 1
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/oracle/truffle/js/codec/BinaryDecoder;
1 9 1 result Ljava/math/BigInteger;
2 9 2 shift I
3 9 3 b J
public double getDouble();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.oracle.truffle.js.codec.BinaryDecoder.getInt64:()J
invokestatic java.lang.Double.longBitsToDouble:(J)D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/codec/BinaryDecoder;
public long getInt64();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=1
start local 0 0: lconst_0
lstore 1
start local 1 1: iconst_0
istore 3
start local 3 2: iconst_0
istore 4
start local 4 3: goto 8
4: StackMap locals: long int int
StackMap stack:
aload 0
invokevirtual com.oracle.truffle.js.codec.BinaryDecoder.getU1:()I
i2l
lstore 5
start local 5 5: lload 1
lload 5
iload 3
lshl
lor
lstore 1
6: iinc 3 8
end local 5 7: iinc 4 1
StackMap locals:
StackMap stack:
8: iload 4
bipush 8
if_icmplt 4
end local 4 9: lload 1
lreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/oracle/truffle/js/codec/BinaryDecoder;
1 10 1 result J
2 10 3 shift I
3 9 4 i I
5 7 5 b J
public int getInt32();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: iconst_0
istore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 8
4: StackMap locals: int int int
StackMap stack:
aload 0
invokevirtual com.oracle.truffle.js.codec.BinaryDecoder.getU1:()I
i2l
lstore 4
start local 4 5: iload 1
i2l
lload 4
iload 2
lshl
lor
l2i
istore 1
6: iinc 2 8
end local 4 7: iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
iconst_4
if_icmplt 4
end local 3 9: iload 1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/oracle/truffle/js/codec/BinaryDecoder;
1 10 1 result I
2 10 2 shift I
3 9 3 i I
5 7 4 b J
public boolean hasRemaining();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.codec.BinaryDecoder.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/codec/BinaryDecoder;
public java.nio.ByteBuffer getBuffer();
descriptor: ()Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.codec.BinaryDecoder.buffer:Ljava/nio/ByteBuffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/codec/BinaryDecoder;
}
SourceFile: "BinaryDecoder.java"