class com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream extends java.io.InputStream
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream
super_class: java.io.InputStream
{
private com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream$Chunk head;
descriptor: Lcom/sun/xml/internal/ws/util/ReadAllStream$MemoryStream$Chunk;
flags: (0x0002) ACC_PRIVATE
private com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream$Chunk tail;
descriptor: Lcom/sun/xml/internal/ws/util/ReadAllStream$MemoryStream$Chunk;
flags: (0x0002) ACC_PRIVATE
private int curOff;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.io.InputStream.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/ws/util/ReadAllStream$MemoryStream;
private void add(byte[], int);
descriptor: ([BI)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream.tail:Lcom/sun/xml/internal/ws/util/ReadAllStream$MemoryStream$Chunk;
ifnull 3
1: aload 0
aload 0
getfield com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream.tail:Lcom/sun/xml/internal/ws/util/ReadAllStream$MemoryStream$Chunk;
aload 1
iconst_0
iload 2
invokevirtual com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream$Chunk.createNext:([BII)Lcom/sun/xml/internal/ws/util/ReadAllStream$MemoryStream$Chunk;
putfield com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream.tail:Lcom/sun/xml/internal/ws/util/ReadAllStream$MemoryStream$Chunk;
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
aload 0
new com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream$Chunk
dup
aload 1
iconst_0
iload 2
invokespecial com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream$Chunk.<init>:([BII)V
dup_x1
putfield com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream.tail:Lcom/sun/xml/internal/ws/util/ReadAllStream$MemoryStream$Chunk;
putfield com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream.head:Lcom/sun/xml/internal/ws/util/ReadAllStream$MemoryStream$Chunk;
4: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/xml/internal/ws/util/ReadAllStream$MemoryStream;
0 5 1 buf [B
0 5 2 len I
MethodParameters:
Name Flags
buf
len
boolean readAll(java.io.InputStream, long);
descriptor: (Ljava/io/InputStream;J)Z
flags: (0x0000)
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: lconst_0
lstore 4
start local 4 1: StackMap locals: long
StackMap stack:
sipush 8192
newarray 8
astore 6
start local 6 2: aload 0
aload 1
aload 6
invokevirtual com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream.fill:(Ljava/io/InputStream;[B)I
istore 7
start local 7 3: lload 4
iload 7
i2l
ladd
lstore 4
4: iload 7
ifeq 6
5: aload 0
aload 6
iload 7
invokevirtual com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream.add:([BI)V
6: StackMap locals: byte[] int
StackMap stack:
iload 7
aload 6
arraylength
if_icmpeq 8
7: iconst_1
ireturn
8: StackMap locals:
StackMap stack:
lload 4
lload 2
lcmp
ifle 1
9: iconst_0
ireturn
end local 7 end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/xml/internal/ws/util/ReadAllStream$MemoryStream;
0 10 1 in Ljava/io/InputStream;
0 10 2 inMemory J
1 10 4 total J
2 10 6 buf [B
3 10 7 read I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
inMemory
private int fill(java.io.InputStream, byte[]);
descriptor: (Ljava/io/InputStream;[B)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 4
start local 4 1: goto 3
start local 3 2: StackMap locals: int int
StackMap stack:
iload 4
iload 3
iadd
istore 4
end local 3 3: StackMap locals: com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream java.io.InputStream byte[] top int
StackMap stack:
iload 4
aload 2
arraylength
if_icmpge 5
aload 1
aload 2
iload 4
aload 2
arraylength
iload 4
isub
invokevirtual java.io.InputStream.read:([BII)I
dup
istore 3
start local 3 4: iconst_m1
if_icmpne 2
end local 3 5: StackMap locals:
StackMap stack:
iload 4
ireturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/xml/internal/ws/util/ReadAllStream$MemoryStream;
0 6 1 in Ljava/io/InputStream;
0 6 2 buf [B
2 3 3 read I
4 5 3 read I
1 6 4 total I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
buf
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.sun.xml.internal.ws.util.ReadAllStream$MemoryStream.fetch:()Z
ifne 2
1: iconst_m1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream.head:Lcom/sun/xml/internal/ws/util/ReadAllStream$MemoryStream$Chunk;
getfield com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream$Chunk.buf:[B
aload 0
dup
getfield com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream.curOff:I
dup_x1
iconst_1
iadd
putfield com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream.curOff:I
baload
sipush 255
iand
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/xml/internal/ws/util/ReadAllStream$MemoryStream;
Exceptions:
throws java.io.IOException
public int read(byte[], int, int);
descriptor: ([BII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream.fetch:()Z
ifne 2
1: iconst_m1
ireturn
2: StackMap locals:
StackMap stack:
iload 3
aload 0
getfield com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream.head:Lcom/sun/xml/internal/ws/util/ReadAllStream$MemoryStream$Chunk;
getfield com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream$Chunk.len:I
aload 0
getfield com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream.curOff:I
aload 0
getfield com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream.head:Lcom/sun/xml/internal/ws/util/ReadAllStream$MemoryStream$Chunk;
getfield com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream$Chunk.off:I
isub
isub
invokestatic java.lang.Math.min:(II)I
istore 3
3: aload 0
getfield com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream.head:Lcom/sun/xml/internal/ws/util/ReadAllStream$MemoryStream$Chunk;
getfield com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream$Chunk.buf:[B
aload 0
getfield com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream.curOff:I
aload 1
iload 2
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
4: aload 0
dup
getfield com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream.curOff:I
iload 3
iadd
putfield com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream.curOff:I
5: iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/xml/internal/ws/util/ReadAllStream$MemoryStream;
0 6 1 b [B
0 6 2 off I
0 6 3 sz I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
off
sz
private boolean fetch();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream.head:Lcom/sun/xml/internal/ws/util/ReadAllStream$MemoryStream$Chunk;
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream.curOff:I
aload 0
getfield com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream.head:Lcom/sun/xml/internal/ws/util/ReadAllStream$MemoryStream$Chunk;
getfield com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream$Chunk.off:I
aload 0
getfield com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream.head:Lcom/sun/xml/internal/ws/util/ReadAllStream$MemoryStream$Chunk;
getfield com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream$Chunk.len:I
iadd
if_icmpne 7
3: aload 0
aload 0
getfield com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream.head:Lcom/sun/xml/internal/ws/util/ReadAllStream$MemoryStream$Chunk;
getfield com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream$Chunk.next:Lcom/sun/xml/internal/ws/util/ReadAllStream$MemoryStream$Chunk;
putfield com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream.head:Lcom/sun/xml/internal/ws/util/ReadAllStream$MemoryStream$Chunk;
4: aload 0
getfield com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream.head:Lcom/sun/xml/internal/ws/util/ReadAllStream$MemoryStream$Chunk;
ifnonnull 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream.head:Lcom/sun/xml/internal/ws/util/ReadAllStream$MemoryStream$Chunk;
getfield com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream$Chunk.off:I
putfield com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream.curOff:I
7: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/xml/internal/ws/util/ReadAllStream$MemoryStream;
}
SourceFile: "ReadAllStream.java"
NestHost: com.sun.xml.internal.ws.util.ReadAllStream
InnerClasses:
private MemoryStream = com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream of com.sun.xml.internal.ws.util.ReadAllStream
private final Chunk = com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream$Chunk of com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream