public class com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet
super_class: java.lang.Object
{
public final java.nio.ByteBuffer[] array;
descriptor: [Ljava/nio/ByteBuffer;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final int offset;
descriptor: I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final int length;
descriptor: I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public void <init>(java.nio.ByteBuffer[], int, int);
descriptor: ([Ljava/nio/ByteBuffer;II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
ifnonnull 3
2: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
3: StackMap locals: com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet java.nio.ByteBuffer[] int int
StackMap stack:
aload 1
arraylength
iload 2
if_icmpge 5
4: new java.lang.IndexOutOfBoundsException
dup
invokespecial java.lang.IndexOutOfBoundsException.<init>:()V
athrow
5: StackMap locals:
StackMap stack:
aload 1
arraylength
iload 2
iload 3
iadd
if_icmpge 7
6: new java.lang.IndexOutOfBoundsException
dup
invokespecial java.lang.IndexOutOfBoundsException.<init>:()V
athrow
7: StackMap locals:
StackMap stack:
iload 2
istore 4
start local 4 8: goto 12
9: StackMap locals: int
StackMap stack:
aload 1
iload 4
aaload
ifnonnull 11
10: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
11: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
12: iload 4
iload 2
iload 3
iadd
if_icmplt 9
end local 4 13: aload 0
aload 1
putfield com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet.array:[Ljava/nio/ByteBuffer;
14: aload 0
iload 2
putfield com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet.offset:I
15: aload 0
iload 3
putfield com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet.length:I
16: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/mongodb/internal/connection/tlschannel/impl/ByteBufferSet;
0 17 1 array [Ljava/nio/ByteBuffer;
0 17 2 offset I
0 17 3 length I
8 13 4 i I
MethodParameters:
Name Flags
array final
offset final
length final
public void <init>(java.nio.ByteBuffer[]);
descriptor: ([Ljava/nio/ByteBuffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
aload 1
arraylength
invokespecial com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet.<init>:([Ljava/nio/ByteBuffer;II)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/internal/connection/tlschannel/impl/ByteBufferSet;
0 2 1 array [Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
array final
public void <init>(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_1
anewarray java.nio.ByteBuffer
dup
iconst_0
aload 1
aastore
invokespecial com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet.<init>:([Ljava/nio/ByteBuffer;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/internal/connection/tlschannel/impl/ByteBufferSet;
0 2 1 buffer Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
buffer final
public long remaining();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: lconst_0
lstore 1
start local 1 1: aload 0
getfield com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet.offset:I
istore 3
start local 3 2: goto 5
3: StackMap locals: long int
StackMap stack:
lload 1
aload 0
getfield com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet.array:[Ljava/nio/ByteBuffer;
iload 3
aaload
invokevirtual java.nio.ByteBuffer.remaining:()I
i2l
ladd
lstore 1
4: iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
aload 0
getfield com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet.offset:I
aload 0
getfield com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet.length:I
iadd
if_icmplt 3
end local 3 6: lload 1
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/mongodb/internal/connection/tlschannel/impl/ByteBufferSet;
1 7 1 ret J
2 6 3 i I
public int putRemaining(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 0
getfield com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet.offset:I
istore 3
start local 3 2: goto 10
3: StackMap locals: int int
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifne 5
4: goto 11
5: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet.array:[Ljava/nio/ByteBuffer;
iload 3
aaload
astore 4
start local 4 6: aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
aload 4
invokevirtual java.nio.ByteBuffer.remaining:()I
invokestatic java.lang.Math.min:(II)I
istore 5
start local 5 7: aload 1
aload 4
iload 5
invokestatic com.mongodb.internal.connection.tlschannel.impl.ByteBufferUtil.copy:(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;I)V
8: iload 2
iload 5
iadd
istore 2
end local 5 end local 4 9: iinc 3 1
StackMap locals:
StackMap stack:
10: iload 3
aload 0
getfield com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet.offset:I
aload 0
getfield com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet.length:I
iadd
if_icmplt 3
end local 3 11: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/mongodb/internal/connection/tlschannel/impl/ByteBufferSet;
0 12 1 from Ljava/nio/ByteBuffer;
1 12 2 totalBytes I
2 11 3 i I
6 9 4 dstBuffer Ljava/nio/ByteBuffer;
7 9 5 bytes I
MethodParameters:
Name Flags
from final
public com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet put(java.nio.ByteBuffer, int);
descriptor: (Ljava/nio/ByteBuffer;I)Lcom/mongodb/internal/connection/tlschannel/impl/ByteBufferSet;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
iload 2
if_icmpge 2
1: new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet.remaining:()J
iload 2
i2l
lcmp
ifge 4
3: new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
iconst_0
istore 3
start local 3 5: aload 0
getfield com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet.offset:I
istore 4
start local 4 6: goto 15
7: StackMap locals: int int
StackMap stack:
iload 2
iload 3
isub
istore 5
start local 5 8: iload 5
ifne 10
9: goto 16
10: StackMap locals: int
StackMap stack:
iload 5
aload 0
invokevirtual com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet.remaining:()J
l2i
invokestatic java.lang.Math.min:(II)I
istore 6
start local 6 11: aload 0
getfield com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet.array:[Ljava/nio/ByteBuffer;
iload 4
aaload
astore 7
start local 7 12: aload 1
aload 7
iload 6
invokestatic com.mongodb.internal.connection.tlschannel.impl.ByteBufferUtil.copy:(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;I)V
13: iload 3
iload 6
iadd
istore 3
end local 7 end local 6 end local 5 14: iinc 4 1
StackMap locals:
StackMap stack:
15: iload 4
aload 0
getfield com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet.offset:I
aload 0
getfield com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet.length:I
iadd
if_icmplt 7
end local 4 16: StackMap locals:
StackMap stack:
aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/mongodb/internal/connection/tlschannel/impl/ByteBufferSet;
0 17 1 from Ljava/nio/ByteBuffer;
0 17 2 length I
5 17 3 totalBytes I
6 16 4 i I
8 14 5 pending I
11 14 6 bytes I
12 14 7 dstBuffer Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
from final
length final
public int getRemaining(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 0
getfield com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet.offset:I
istore 3
start local 3 2: goto 10
3: StackMap locals: int int
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifne 5
4: goto 11
5: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet.array:[Ljava/nio/ByteBuffer;
iload 3
aaload
astore 4
start local 4 6: aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
aload 4
invokevirtual java.nio.ByteBuffer.remaining:()I
invokestatic java.lang.Math.min:(II)I
istore 5
start local 5 7: aload 4
aload 1
iload 5
invokestatic com.mongodb.internal.connection.tlschannel.impl.ByteBufferUtil.copy:(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;I)V
8: iload 2
iload 5
iadd
istore 2
end local 5 end local 4 9: iinc 3 1
StackMap locals:
StackMap stack:
10: iload 3
aload 0
getfield com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet.offset:I
aload 0
getfield com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet.length:I
iadd
if_icmplt 3
end local 3 11: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/mongodb/internal/connection/tlschannel/impl/ByteBufferSet;
0 12 1 dst Ljava/nio/ByteBuffer;
1 12 2 totalBytes I
2 11 3 i I
6 9 4 srcBuffer Ljava/nio/ByteBuffer;
7 9 5 bytes I
MethodParameters:
Name Flags
dst final
public com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet get(java.nio.ByteBuffer, int);
descriptor: (Ljava/nio/ByteBuffer;I)Lcom/mongodb/internal/connection/tlschannel/impl/ByteBufferSet;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet.remaining:()J
iload 2
i2l
lcmp
ifge 2
1: new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
iload 2
if_icmpge 4
3: new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
iconst_0
istore 3
start local 3 5: aload 0
getfield com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet.offset:I
istore 4
start local 4 6: goto 15
7: StackMap locals: int int
StackMap stack:
iload 2
iload 3
isub
istore 5
start local 5 8: iload 5
ifne 10
9: goto 16
10: StackMap locals: int
StackMap stack:
aload 0
getfield com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet.array:[Ljava/nio/ByteBuffer;
iload 4
aaload
astore 6
start local 6 11: iload 5
aload 6
invokevirtual java.nio.ByteBuffer.remaining:()I
invokestatic java.lang.Math.min:(II)I
istore 7
start local 7 12: aload 6
aload 1
iload 7
invokestatic com.mongodb.internal.connection.tlschannel.impl.ByteBufferUtil.copy:(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;I)V
13: iload 3
iload 7
iadd
istore 3
end local 7 end local 6 end local 5 14: iinc 4 1
StackMap locals:
StackMap stack:
15: iload 4
aload 0
getfield com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet.offset:I
aload 0
getfield com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet.length:I
iadd
if_icmplt 7
end local 4 16: StackMap locals:
StackMap stack:
aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/mongodb/internal/connection/tlschannel/impl/ByteBufferSet;
0 17 1 dst Ljava/nio/ByteBuffer;
0 17 2 length I
5 17 3 totalBytes I
6 16 4 i I
8 14 5 pending I
11 14 6 srcBuffer Ljava/nio/ByteBuffer;
12 14 7 bytes I
MethodParameters:
Name Flags
dst final
length final
public boolean hasRemaining();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet.remaining:()J
lconst_0
lcmp
ifle 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/internal/connection/tlschannel/impl/ByteBufferSet;
public boolean isReadOnly();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet.offset:I
istore 1
start local 1 1: goto 5
2: StackMap locals: int
StackMap stack:
aload 0
getfield com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet.array:[Ljava/nio/ByteBuffer;
iload 1
aaload
invokevirtual java.nio.ByteBuffer.isReadOnly:()Z
ifeq 4
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
iinc 1 1
StackMap locals:
StackMap stack:
5: iload 1
aload 0
getfield com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet.offset:I
aload 0
getfield com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet.length:I
iadd
if_icmplt 2
end local 1 6: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/mongodb/internal/connection/tlschannel/impl/ByteBufferSet;
1 6 1 i I
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "ByteBufferSet[array="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet.array:[Ljava/nio/ByteBuffer;
invokestatic java.util.Arrays.toString:([Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ", offset="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet.offset:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", length="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.internal.connection.tlschannel.impl.ByteBufferSet.length:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/internal/connection/tlschannel/impl/ByteBufferSet;
}
SourceFile: "ByteBufferSet.java"