class com.google.protobuf.RopeByteString$RopeInputStream extends java.io.InputStream
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.google.protobuf.RopeByteString$RopeInputStream
super_class: java.io.InputStream
{
private com.google.protobuf.RopeByteString$PieceIterator pieceIterator;
descriptor: Lcom/google/protobuf/RopeByteString$PieceIterator;
flags: (0x0002) ACC_PRIVATE
private com.google.protobuf.ByteString$LeafByteString currentPiece;
descriptor: Lcom/google/protobuf/ByteString$LeafByteString;
flags: (0x0002) ACC_PRIVATE
private int currentPieceSize;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int currentPieceIndex;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int currentPieceOffsetInRope;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int mark;
descriptor: I
flags: (0x0002) ACC_PRIVATE
final com.google.protobuf.RopeByteString this$0;
descriptor: Lcom/google/protobuf/RopeByteString;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void <init>(com.google.protobuf.RopeByteString);
descriptor: (Lcom/google/protobuf/RopeByteString;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield com.google.protobuf.RopeByteString$RopeInputStream.this$0:Lcom/google/protobuf/RopeByteString;
aload 0
invokespecial java.io.InputStream.<init>:()V
1: aload 0
invokevirtual com.google.protobuf.RopeByteString$RopeInputStream.initialize:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/protobuf/RopeByteString$RopeInputStream;
MethodParameters:
Name Flags
this$0 final
public int read(byte[], int, int);
descriptor: ([BII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
iload 2
iflt 3
iload 3
iflt 3
iload 3
aload 1
arraylength
iload 2
isub
if_icmple 4
3: StackMap locals:
StackMap stack:
new java.lang.IndexOutOfBoundsException
dup
invokespecial java.lang.IndexOutOfBoundsException.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
iload 3
invokevirtual com.google.protobuf.RopeByteString$RopeInputStream.readSkipInternal:([BII)I
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/google/protobuf/RopeByteString$RopeInputStream;
0 5 1 b [B
0 5 2 offset I
0 5 3 length I
MethodParameters:
Name Flags
b
offset
length
public long skip(long);
descriptor: (J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: lload 1
lconst_0
lcmp
ifge 2
1: new java.lang.IndexOutOfBoundsException
dup
invokespecial java.lang.IndexOutOfBoundsException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
lload 1
ldc 2147483647
lcmp
ifle 4
3: ldc 2147483647
lstore 1
4: StackMap locals:
StackMap stack:
aload 0
aconst_null
iconst_0
lload 1
l2i
invokevirtual com.google.protobuf.RopeByteString$RopeInputStream.readSkipInternal:([BII)I
i2l
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/google/protobuf/RopeByteString$RopeInputStream;
0 5 1 length J
MethodParameters:
Name Flags
length
private int readSkipInternal(byte[], int, int);
descriptor: ([BII)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
istore 4
start local 4 1: goto 13
2: StackMap locals: int
StackMap stack:
aload 0
invokevirtual com.google.protobuf.RopeByteString$RopeInputStream.advanceIfCurrentPieceFullyRead:()V
3: aload 0
getfield com.google.protobuf.RopeByteString$RopeInputStream.currentPiece:Lcom/google/protobuf/ByteString$LeafByteString;
ifnonnull 6
4: iload 4
iload 3
if_icmpne 14
5: iconst_m1
ireturn
6: StackMap locals:
StackMap stack:
aload 0
getfield com.google.protobuf.RopeByteString$RopeInputStream.currentPieceSize:I
aload 0
getfield com.google.protobuf.RopeByteString$RopeInputStream.currentPieceIndex:I
isub
istore 5
start local 5 7: iload 5
iload 4
invokestatic java.lang.Math.min:(II)I
istore 6
start local 6 8: aload 1
ifnull 11
9: aload 0
getfield com.google.protobuf.RopeByteString$RopeInputStream.currentPiece:Lcom/google/protobuf/ByteString$LeafByteString;
aload 1
aload 0
getfield com.google.protobuf.RopeByteString$RopeInputStream.currentPieceIndex:I
iload 2
iload 6
invokevirtual com.google.protobuf.ByteString$LeafByteString.copyTo:([BIII)V
10: iload 2
iload 6
iadd
istore 2
11: StackMap locals: int int
StackMap stack:
aload 0
dup
getfield com.google.protobuf.RopeByteString$RopeInputStream.currentPieceIndex:I
iload 6
iadd
putfield com.google.protobuf.RopeByteString$RopeInputStream.currentPieceIndex:I
12: iload 4
iload 6
isub
istore 4
end local 6 end local 5 13: StackMap locals:
StackMap stack:
iload 4
ifgt 2
14: StackMap locals:
StackMap stack:
iload 3
iload 4
isub
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/google/protobuf/RopeByteString$RopeInputStream;
0 15 1 b [B
0 15 2 offset I
0 15 3 length I
1 15 4 bytesRemaining I
7 13 5 currentPieceRemaining I
8 13 6 count I
MethodParameters:
Name Flags
b
offset
length
public int read();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.google.protobuf.RopeByteString$RopeInputStream.advanceIfCurrentPieceFullyRead:()V
1: aload 0
getfield com.google.protobuf.RopeByteString$RopeInputStream.currentPiece:Lcom/google/protobuf/ByteString$LeafByteString;
ifnonnull 3
2: iconst_m1
ireturn
3: StackMap locals:
StackMap stack:
aload 0
getfield com.google.protobuf.RopeByteString$RopeInputStream.currentPiece:Lcom/google/protobuf/ByteString$LeafByteString;
aload 0
dup
getfield com.google.protobuf.RopeByteString$RopeInputStream.currentPieceIndex:I
dup_x1
iconst_1
iadd
putfield com.google.protobuf.RopeByteString$RopeInputStream.currentPieceIndex:I
invokevirtual com.google.protobuf.ByteString$LeafByteString.byteAt:(I)B
sipush 255
iand
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/protobuf/RopeByteString$RopeInputStream;
Exceptions:
throws java.io.IOException
public int available();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield com.google.protobuf.RopeByteString$RopeInputStream.currentPieceOffsetInRope:I
aload 0
getfield com.google.protobuf.RopeByteString$RopeInputStream.currentPieceIndex:I
iadd
istore 1
start local 1 1: aload 0
getfield com.google.protobuf.RopeByteString$RopeInputStream.this$0:Lcom/google/protobuf/RopeByteString;
invokevirtual com.google.protobuf.RopeByteString.size:()I
iload 1
isub
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/protobuf/RopeByteString$RopeInputStream;
1 2 1 bytesRead I
Exceptions:
throws java.io.IOException
public boolean markSupported();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/protobuf/RopeByteString$RopeInputStream;
public void mark(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
aload 0
getfield com.google.protobuf.RopeByteString$RopeInputStream.currentPieceOffsetInRope:I
aload 0
getfield com.google.protobuf.RopeByteString$RopeInputStream.currentPieceIndex:I
iadd
putfield com.google.protobuf.RopeByteString$RopeInputStream.mark:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/protobuf/RopeByteString$RopeInputStream;
0 2 1 readAheadLimit I
MethodParameters:
Name Flags
readAheadLimit
public synchronized void reset();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.google.protobuf.RopeByteString$RopeInputStream.initialize:()V
1: aload 0
aconst_null
iconst_0
aload 0
getfield com.google.protobuf.RopeByteString$RopeInputStream.mark:I
invokevirtual com.google.protobuf.RopeByteString$RopeInputStream.readSkipInternal:([BII)I
pop
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/protobuf/RopeByteString$RopeInputStream;
private void initialize();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
new com.google.protobuf.RopeByteString$PieceIterator
dup
aload 0
getfield com.google.protobuf.RopeByteString$RopeInputStream.this$0:Lcom/google/protobuf/RopeByteString;
invokespecial com.google.protobuf.RopeByteString$PieceIterator.<init>:(Lcom/google/protobuf/ByteString;)V
putfield com.google.protobuf.RopeByteString$RopeInputStream.pieceIterator:Lcom/google/protobuf/RopeByteString$PieceIterator;
1: aload 0
aload 0
getfield com.google.protobuf.RopeByteString$RopeInputStream.pieceIterator:Lcom/google/protobuf/RopeByteString$PieceIterator;
invokevirtual com.google.protobuf.RopeByteString$PieceIterator.next:()Lcom/google/protobuf/ByteString$LeafByteString;
putfield com.google.protobuf.RopeByteString$RopeInputStream.currentPiece:Lcom/google/protobuf/ByteString$LeafByteString;
2: aload 0
aload 0
getfield com.google.protobuf.RopeByteString$RopeInputStream.currentPiece:Lcom/google/protobuf/ByteString$LeafByteString;
invokevirtual com.google.protobuf.ByteString$LeafByteString.size:()I
putfield com.google.protobuf.RopeByteString$RopeInputStream.currentPieceSize:I
3: aload 0
iconst_0
putfield com.google.protobuf.RopeByteString$RopeInputStream.currentPieceIndex:I
4: aload 0
iconst_0
putfield com.google.protobuf.RopeByteString$RopeInputStream.currentPieceOffsetInRope:I
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/google/protobuf/RopeByteString$RopeInputStream;
private void advanceIfCurrentPieceFullyRead();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.protobuf.RopeByteString$RopeInputStream.currentPiece:Lcom/google/protobuf/ByteString$LeafByteString;
ifnull 9
aload 0
getfield com.google.protobuf.RopeByteString$RopeInputStream.currentPieceIndex:I
aload 0
getfield com.google.protobuf.RopeByteString$RopeInputStream.currentPieceSize:I
if_icmpne 9
1: aload 0
dup
getfield com.google.protobuf.RopeByteString$RopeInputStream.currentPieceOffsetInRope:I
aload 0
getfield com.google.protobuf.RopeByteString$RopeInputStream.currentPieceSize:I
iadd
putfield com.google.protobuf.RopeByteString$RopeInputStream.currentPieceOffsetInRope:I
2: aload 0
iconst_0
putfield com.google.protobuf.RopeByteString$RopeInputStream.currentPieceIndex:I
3: aload 0
getfield com.google.protobuf.RopeByteString$RopeInputStream.pieceIterator:Lcom/google/protobuf/RopeByteString$PieceIterator;
invokevirtual com.google.protobuf.RopeByteString$PieceIterator.hasNext:()Z
ifeq 7
4: aload 0
aload 0
getfield com.google.protobuf.RopeByteString$RopeInputStream.pieceIterator:Lcom/google/protobuf/RopeByteString$PieceIterator;
invokevirtual com.google.protobuf.RopeByteString$PieceIterator.next:()Lcom/google/protobuf/ByteString$LeafByteString;
putfield com.google.protobuf.RopeByteString$RopeInputStream.currentPiece:Lcom/google/protobuf/ByteString$LeafByteString;
5: aload 0
aload 0
getfield com.google.protobuf.RopeByteString$RopeInputStream.currentPiece:Lcom/google/protobuf/ByteString$LeafByteString;
invokevirtual com.google.protobuf.ByteString$LeafByteString.size:()I
putfield com.google.protobuf.RopeByteString$RopeInputStream.currentPieceSize:I
6: goto 9
7: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield com.google.protobuf.RopeByteString$RopeInputStream.currentPiece:Lcom/google/protobuf/ByteString$LeafByteString;
8: aload 0
iconst_0
putfield com.google.protobuf.RopeByteString$RopeInputStream.currentPieceSize:I
9: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/google/protobuf/RopeByteString$RopeInputStream;
}
SourceFile: "RopeByteString.java"
NestHost: com.google.protobuf.RopeByteString
InnerClasses:
abstract LeafByteString = com.google.protobuf.ByteString$LeafByteString of com.google.protobuf.ByteString
private final PieceIterator = com.google.protobuf.RopeByteString$PieceIterator of com.google.protobuf.RopeByteString
private RopeInputStream = com.google.protobuf.RopeByteString$RopeInputStream of com.google.protobuf.RopeByteString