public class com.mongodb.connection.ByteBufferBsonOutput extends org.bson.io.OutputBuffer
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.mongodb.connection.ByteBufferBsonOutput
super_class: org.bson.io.OutputBuffer
{
private static final int MAX_SHIFT;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 31
private static final int INITIAL_SHIFT;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 10
public static final int INITIAL_BUFFER_SIZE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1024
public static final int MAX_BUFFER_SIZE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 16777216
private final com.mongodb.connection.BufferProvider bufferProvider;
descriptor: Lcom/mongodb/connection/BufferProvider;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.List<org.bson.ByteBuf> bufferList;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/bson/ByteBuf;>;
private int curBufferIndex;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int position;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private boolean closed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>(com.mongodb.connection.BufferProvider);
descriptor: (Lcom/mongodb/connection/BufferProvider;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.bson.io.OutputBuffer.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.mongodb.connection.ByteBufferBsonOutput.bufferList:Ljava/util/List;
2: aload 0
iconst_0
putfield com.mongodb.connection.ByteBufferBsonOutput.curBufferIndex:I
3: aload 0
iconst_0
putfield com.mongodb.connection.ByteBufferBsonOutput.position:I
4: aload 0
ldc "bufferProvider"
aload 1
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.mongodb.connection.BufferProvider
putfield com.mongodb.connection.ByteBufferBsonOutput.bufferProvider:Lcom/mongodb/connection/BufferProvider;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/mongodb/connection/ByteBufferBsonOutput;
0 6 1 bufferProvider Lcom/mongodb/connection/BufferProvider;
MethodParameters:
Name Flags
bufferProvider final
public void writeBytes(byte[], int, int);
descriptor: ([BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual com.mongodb.connection.ByteBufferBsonOutput.ensureOpen:()V
1: iload 2
istore 4
start local 4 2: iload 3
istore 5
start local 5 3: goto 9
4: StackMap locals: int int
StackMap stack:
aload 0
invokevirtual com.mongodb.connection.ByteBufferBsonOutput.getCurrentByteBuffer:()Lorg/bson/ByteBuf;
astore 6
start local 6 5: aload 6
invokeinterface org.bson.ByteBuf.remaining:()I
iload 5
invokestatic java.lang.Math.min:(II)I
istore 7
start local 7 6: aload 6
aload 1
iload 4
iload 7
invokeinterface org.bson.ByteBuf.put:([BII)Lorg/bson/ByteBuf;
pop
7: iload 5
iload 7
isub
istore 5
8: iload 4
iload 7
iadd
istore 4
end local 7 end local 6 9: StackMap locals:
StackMap stack:
iload 5
ifgt 4
10: aload 0
dup
getfield com.mongodb.connection.ByteBufferBsonOutput.position:I
iload 3
iadd
putfield com.mongodb.connection.ByteBufferBsonOutput.position:I
11: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/mongodb/connection/ByteBufferBsonOutput;
0 12 1 bytes [B
0 12 2 offset I
0 12 3 length I
2 12 4 currentOffset I
3 12 5 remainingLen I
5 9 6 buf Lorg/bson/ByteBuf;
6 9 7 bytesToPutInCurrentBuffer I
MethodParameters:
Name Flags
bytes final
offset final
length final
public void writeByte(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.mongodb.connection.ByteBufferBsonOutput.ensureOpen:()V
1: aload 0
invokevirtual com.mongodb.connection.ByteBufferBsonOutput.getCurrentByteBuffer:()Lorg/bson/ByteBuf;
iload 1
i2b
invokeinterface org.bson.ByteBuf.put:(B)Lorg/bson/ByteBuf;
pop
2: aload 0
dup
getfield com.mongodb.connection.ByteBufferBsonOutput.position:I
iconst_1
iadd
putfield com.mongodb.connection.ByteBufferBsonOutput.position:I
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/mongodb/connection/ByteBufferBsonOutput;
0 4 1 value I
MethodParameters:
Name Flags
value final
private org.bson.ByteBuf getCurrentByteBuffer();
descriptor: ()Lorg/bson/ByteBuf;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
aload 0
getfield com.mongodb.connection.ByteBufferBsonOutput.curBufferIndex:I
invokevirtual com.mongodb.connection.ByteBufferBsonOutput.getByteBufferAtIndex:(I)Lorg/bson/ByteBuf;
astore 1
start local 1 1: aload 1
invokeinterface org.bson.ByteBuf.hasRemaining:()Z
ifeq 3
2: aload 1
areturn
3: StackMap locals: org.bson.ByteBuf
StackMap stack:
aload 0
dup
getfield com.mongodb.connection.ByteBufferBsonOutput.curBufferIndex:I
iconst_1
iadd
putfield com.mongodb.connection.ByteBufferBsonOutput.curBufferIndex:I
4: aload 0
aload 0
getfield com.mongodb.connection.ByteBufferBsonOutput.curBufferIndex:I
invokevirtual com.mongodb.connection.ByteBufferBsonOutput.getByteBufferAtIndex:(I)Lorg/bson/ByteBuf;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/mongodb/connection/ByteBufferBsonOutput;
1 5 1 curByteBuffer Lorg/bson/ByteBuf;
private org.bson.ByteBuf getByteBufferAtIndex(int);
descriptor: (I)Lorg/bson/ByteBuf;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.mongodb.connection.ByteBufferBsonOutput.bufferList:Ljava/util/List;
invokeinterface java.util.List.size:()I
iload 1
iconst_1
iadd
if_icmpge 5
1: aload 0
getfield com.mongodb.connection.ByteBufferBsonOutput.bufferList:Ljava/util/List;
aload 0
getfield com.mongodb.connection.ByteBufferBsonOutput.bufferProvider:Lcom/mongodb/connection/BufferProvider;
iload 1
bipush 21
if_icmplt 3
2: ldc 16777216
goto 4
3: StackMap locals: com.mongodb.connection.ByteBufferBsonOutput int
StackMap stack: java.util.List com.mongodb.connection.BufferProvider
sipush 1024
iload 1
ishl
ldc 16777216
invokestatic java.lang.Math.min:(II)I
4: StackMap locals: com.mongodb.connection.ByteBufferBsonOutput int
StackMap stack: java.util.List com.mongodb.connection.BufferProvider int
invokeinterface com.mongodb.connection.BufferProvider.getBuffer:(I)Lorg/bson/ByteBuf;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
5: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.connection.ByteBufferBsonOutput.bufferList:Ljava/util/List;
iload 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.bson.ByteBuf
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/mongodb/connection/ByteBufferBsonOutput;
0 6 1 index I
MethodParameters:
Name Flags
index final
public int getPosition();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.mongodb.connection.ByteBufferBsonOutput.ensureOpen:()V
1: aload 0
getfield com.mongodb.connection.ByteBufferBsonOutput.position:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/connection/ByteBufferBsonOutput;
public int getSize();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.mongodb.connection.ByteBufferBsonOutput.ensureOpen:()V
1: aload 0
getfield com.mongodb.connection.ByteBufferBsonOutput.position:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/connection/ByteBufferBsonOutput;
protected void write(int, int);
descriptor: (II)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual com.mongodb.connection.ByteBufferBsonOutput.ensureOpen:()V
1: iload 1
ifge 3
2: new java.lang.IllegalArgumentException
dup
ldc "position must be >= 0 but was %d"
iconst_1
anewarray java.lang.Object
dup
iconst_0
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
iload 1
aload 0
getfield com.mongodb.connection.ByteBufferBsonOutput.position:I
iconst_1
isub
if_icmple 5
4: new java.lang.IllegalArgumentException
dup
ldc "position must be <= %d but was %d"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield com.mongodb.connection.ByteBufferBsonOutput.position:I
iconst_1
isub
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
iload 1
invokevirtual com.mongodb.connection.ByteBufferBsonOutput.getBufferPositionPair:(I)Lcom/mongodb/connection/ByteBufferBsonOutput$BufferPositionPair;
astore 3
start local 3 6: aload 0
aload 3
getfield com.mongodb.connection.ByteBufferBsonOutput$BufferPositionPair.bufferIndex:I
invokevirtual com.mongodb.connection.ByteBufferBsonOutput.getByteBufferAtIndex:(I)Lorg/bson/ByteBuf;
astore 4
start local 4 7: aload 4
aload 3
dup
getfield com.mongodb.connection.ByteBufferBsonOutput$BufferPositionPair.position:I
dup_x1
iconst_1
iadd
putfield com.mongodb.connection.ByteBufferBsonOutput$BufferPositionPair.position:I
iload 2
i2b
invokeinterface org.bson.ByteBuf.put:(IB)Lorg/bson/ByteBuf;
pop
8: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/mongodb/connection/ByteBufferBsonOutput;
0 9 1 absolutePosition I
0 9 2 value I
6 9 3 bufferPositionPair Lcom/mongodb/connection/ByteBufferBsonOutput$BufferPositionPair;
7 9 4 byteBuffer Lorg/bson/ByteBuf;
MethodParameters:
Name Flags
absolutePosition final
value final
public java.util.List<org.bson.ByteBuf> getByteBuffers();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual com.mongodb.connection.ByteBufferBsonOutput.ensureOpen:()V
1: new java.util.ArrayList
dup
aload 0
getfield com.mongodb.connection.ByteBufferBsonOutput.bufferList:Ljava/util/List;
invokeinterface java.util.List.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 1
start local 1 2: aload 0
getfield com.mongodb.connection.ByteBufferBsonOutput.bufferList:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 5
StackMap locals: com.mongodb.connection.ByteBufferBsonOutput java.util.List top java.util.Iterator
StackMap stack:
3: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.bson.ByteBuf
astore 2
start local 2 4: aload 1
aload 2
invokeinterface org.bson.ByteBuf.duplicate:()Lorg/bson/ByteBuf;
getstatic java.nio.ByteOrder.LITTLE_ENDIAN:Ljava/nio/ByteOrder;
invokeinterface org.bson.ByteBuf.order:(Ljava/nio/ByteOrder;)Lorg/bson/ByteBuf;
invokeinterface org.bson.ByteBuf.flip:()Lorg/bson/ByteBuf;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 2 5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/mongodb/connection/ByteBufferBsonOutput;
2 7 1 buffers Ljava/util/List<Lorg/bson/ByteBuf;>;
4 5 2 cur Lorg/bson/ByteBuf;
Signature: ()Ljava/util/List<Lorg/bson/ByteBuf;>;
public int pipe(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.mongodb.connection.ByteBufferBsonOutput.ensureOpen:()V
1: sipush 1024
newarray 8
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: aload 0
invokevirtual com.mongodb.connection.ByteBufferBsonOutput.getByteBuffers:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 12
StackMap locals: com.mongodb.connection.ByteBufferBsonOutput java.io.OutputStream byte[] int top java.util.Iterator
StackMap stack:
4: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.bson.ByteBuf
astore 4
start local 4 5: aload 4
invokeinterface org.bson.ByteBuf.duplicate:()Lorg/bson/ByteBuf;
astore 6
start local 6 6: goto 10
7: StackMap locals: com.mongodb.connection.ByteBufferBsonOutput java.io.OutputStream byte[] int org.bson.ByteBuf java.util.Iterator org.bson.ByteBuf
StackMap stack:
aload 6
invokeinterface org.bson.ByteBuf.remaining:()I
aload 2
arraylength
invokestatic java.lang.Math.min:(II)I
istore 7
start local 7 8: aload 6
aload 2
iconst_0
iload 7
invokeinterface org.bson.ByteBuf.get:([BII)Lorg/bson/ByteBuf;
pop
9: aload 1
aload 2
iconst_0
iload 7
invokevirtual java.io.OutputStream.write:([BII)V
end local 7 10: StackMap locals:
StackMap stack:
aload 6
invokeinterface org.bson.ByteBuf.hasRemaining:()Z
ifne 7
11: iload 3
aload 6
invokeinterface org.bson.ByteBuf.limit:()I
iadd
istore 3
end local 6 end local 4 12: StackMap locals: com.mongodb.connection.ByteBufferBsonOutput java.io.OutputStream byte[] int top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
13: iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/mongodb/connection/ByteBufferBsonOutput;
0 14 1 out Ljava/io/OutputStream;
2 14 2 tmp [B
3 14 3 total I
5 12 4 cur Lorg/bson/ByteBuf;
6 12 6 dup Lorg/bson/ByteBuf;
8 10 7 numBytesToCopy I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out final
public void truncateToPosition(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.mongodb.connection.ByteBufferBsonOutput.ensureOpen:()V
1: iload 1
aload 0
getfield com.mongodb.connection.ByteBufferBsonOutput.position:I
if_icmpgt 2
iload 1
ifge 3
2: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 0
iload 1
invokevirtual com.mongodb.connection.ByteBufferBsonOutput.getBufferPositionPair:(I)Lcom/mongodb/connection/ByteBufferBsonOutput$BufferPositionPair;
astore 2
start local 2 4: aload 0
getfield com.mongodb.connection.ByteBufferBsonOutput.bufferList:Ljava/util/List;
aload 2
getfield com.mongodb.connection.ByteBufferBsonOutput$BufferPositionPair.bufferIndex:I
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.bson.ByteBuf
aload 2
getfield com.mongodb.connection.ByteBufferBsonOutput$BufferPositionPair.position:I
invokeinterface org.bson.ByteBuf.position:(I)Lorg/bson/ByteBuf;
pop
5: goto 8
6: StackMap locals: com.mongodb.connection.ByteBufferBsonOutput$BufferPositionPair
StackMap stack:
aload 0
getfield com.mongodb.connection.ByteBufferBsonOutput.bufferList:Ljava/util/List;
aload 0
getfield com.mongodb.connection.ByteBufferBsonOutput.bufferList:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_1
isub
invokeinterface java.util.List.remove:(I)Ljava/lang/Object;
checkcast org.bson.ByteBuf
astore 3
start local 3 7: aload 3
invokeinterface org.bson.ByteBuf.release:()V
end local 3 8: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.connection.ByteBufferBsonOutput.bufferList:Ljava/util/List;
invokeinterface java.util.List.size:()I
aload 2
getfield com.mongodb.connection.ByteBufferBsonOutput$BufferPositionPair.bufferIndex:I
iconst_1
iadd
if_icmpgt 6
9: aload 0
aload 2
getfield com.mongodb.connection.ByteBufferBsonOutput$BufferPositionPair.bufferIndex:I
putfield com.mongodb.connection.ByteBufferBsonOutput.curBufferIndex:I
10: aload 0
iload 1
putfield com.mongodb.connection.ByteBufferBsonOutput.position:I
11: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/mongodb/connection/ByteBufferBsonOutput;
0 12 1 newPosition I
4 12 2 bufferPositionPair Lcom/mongodb/connection/ByteBufferBsonOutput$BufferPositionPair;
7 8 3 buffer Lorg/bson/ByteBuf;
MethodParameters:
Name Flags
newPosition final
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield com.mongodb.connection.ByteBufferBsonOutput.bufferList:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
goto 3
StackMap locals: com.mongodb.connection.ByteBufferBsonOutput top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.bson.ByteBuf
astore 1
start local 1 2: aload 1
invokeinterface org.bson.ByteBuf.release:()V
end local 1 3: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: aload 0
getfield com.mongodb.connection.ByteBufferBsonOutput.bufferList:Ljava/util/List;
invokeinterface java.util.List.clear:()V
5: aload 0
iconst_1
putfield com.mongodb.connection.ByteBufferBsonOutput.closed:Z
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/mongodb/connection/ByteBufferBsonOutput;
2 3 1 cur Lorg/bson/ByteBuf;
private com.mongodb.connection.ByteBufferBsonOutput$BufferPositionPair getBufferPositionPair(int);
descriptor: (I)Lcom/mongodb/connection/ByteBufferBsonOutput$BufferPositionPair;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: iload 1
istore 2
start local 2 1: iconst_0
istore 3
start local 3 2: sipush 1024
istore 4
start local 4 3: iconst_0
istore 5
start local 5 4: goto 9
5: StackMap locals: com.mongodb.connection.ByteBufferBsonOutput int int int int int
StackMap stack:
iinc 3 1
6: iload 5
iload 4
iadd
istore 5
7: iload 2
iload 4
isub
istore 2
8: aload 0
getfield com.mongodb.connection.ByteBufferBsonOutput.bufferList:Ljava/util/List;
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.bson.ByteBuf
invokeinterface org.bson.ByteBuf.limit:()I
istore 4
9: StackMap locals:
StackMap stack:
iload 5
iload 4
iadd
iload 1
if_icmple 5
10: new com.mongodb.connection.ByteBufferBsonOutput$BufferPositionPair
dup
iload 3
iload 2
invokespecial com.mongodb.connection.ByteBufferBsonOutput$BufferPositionPair.<init>:(II)V
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/mongodb/connection/ByteBufferBsonOutput;
0 11 1 absolutePosition I
1 11 2 positionInBuffer I
2 11 3 bufferIndex I
3 11 4 bufferSize I
4 11 5 startPositionOfBuffer I
MethodParameters:
Name Flags
absolutePosition final
private void ensureOpen();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.connection.ByteBufferBsonOutput.closed:Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "The output is closed"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/connection/ByteBufferBsonOutput;
}
SourceFile: "ByteBufferBsonOutput.java"
NestMembers:
com.mongodb.connection.ByteBufferBsonOutput$BufferPositionPair
InnerClasses:
private final BufferPositionPair = com.mongodb.connection.ByteBufferBsonOutput$BufferPositionPair of com.mongodb.connection.ByteBufferBsonOutput
RuntimeVisibleAnnotations:
java.lang.Deprecated()