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 // com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream this
         0: .line 154
            aload 0 /* this */
            invokespecial java.io.InputStream.<init>:()V
            return
        end local 0 // com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream this
      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 // com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream this
        start local 1 // byte[] buf
        start local 2 // int len
         0: .line 159
            aload 0 /* this */
            getfield com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream.tail:Lcom/sun/xml/internal/ws/util/ReadAllStream$MemoryStream$Chunk;
            ifnull 3
         1: .line 160
            aload 0 /* this */
            aload 0 /* this */
            getfield com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream.tail:Lcom/sun/xml/internal/ws/util/ReadAllStream$MemoryStream$Chunk;
            aload 1 /* buf */
            iconst_0
            iload 2 /* len */
            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: .line 161
            goto 4
         3: .line 162
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 0 /* this */
            new com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream$Chunk
            dup
            aload 1 /* buf */
            iconst_0
            iload 2 /* len */
            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: .line 164
      StackMap locals:
      StackMap stack:
            return
        end local 2 // int len
        end local 1 // byte[] buf
        end local 0 // com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream this
      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 // com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream this
        start local 1 // java.io.InputStream in
        start local 2 // long inMemory
         0: .line 176
            lconst_0
            lstore 4 /* total */
        start local 4 // long total
         1: .line 178
      StackMap locals: long
      StackMap stack:
            sipush 8192
            newarray 8
            astore 6 /* buf */
        start local 6 // byte[] buf
         2: .line 179
            aload 0 /* this */
            aload 1 /* in */
            aload 6 /* buf */
            invokevirtual com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream.fill:(Ljava/io/InputStream;[B)I
            istore 7 /* read */
        start local 7 // int read
         3: .line 180
            lload 4 /* total */
            iload 7 /* read */
            i2l
            ladd
            lstore 4 /* total */
         4: .line 181
            iload 7 /* read */
            ifeq 6
         5: .line 182
            aload 0 /* this */
            aload 6 /* buf */
            iload 7 /* read */
            invokevirtual com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream.add:([BI)V
         6: .line 184
      StackMap locals: byte[] int
      StackMap stack:
            iload 7 /* read */
            aload 6 /* buf */
            arraylength
            if_icmpeq 8
         7: .line 185
            iconst_1
            ireturn
         8: .line 187
      StackMap locals:
      StackMap stack:
            lload 4 /* total */
            lload 2 /* inMemory */
            lcmp
            ifle 1
         9: .line 188
            iconst_0
            ireturn
        end local 7 // int read
        end local 6 // byte[] buf
        end local 4 // long total
        end local 2 // long inMemory
        end local 1 // java.io.InputStream in
        end local 0 // com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream this
      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 // com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream this
        start local 1 // java.io.InputStream in
        start local 2 // byte[] buf
         0: .line 195
            iconst_0
            istore 4 /* total */
        start local 4 // int total
         1: .line 196
            goto 3
        start local 3 // int read
         2: .line 197
      StackMap locals: int int
      StackMap stack:
            iload 4 /* total */
            iload 3 /* read */
            iadd
            istore 4 /* total */
        end local 3 // int read
         3: .line 196
      StackMap locals: com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream java.io.InputStream byte[] top int
      StackMap stack:
            iload 4 /* total */
            aload 2 /* buf */
            arraylength
            if_icmpge 5
            aload 1 /* in */
            aload 2 /* buf */
            iload 4 /* total */
            aload 2 /* buf */
            arraylength
            iload 4 /* total */
            isub
            invokevirtual java.io.InputStream.read:([BII)I
            dup
            istore 3 /* read */
        start local 3 // int read
         4: iconst_m1
            if_icmpne 2
        end local 3 // int read
         5: .line 199
      StackMap locals:
      StackMap stack:
            iload 4 /* total */
            ireturn
        end local 4 // int total
        end local 2 // byte[] buf
        end local 1 // java.io.InputStream in
        end local 0 // com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream this
      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 // com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream this
         0: .line 204
            aload 0 /* this */
            invokevirtual com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream.fetch:()Z
            ifne 2
         1: .line 205
            iconst_m1
            ireturn
         2: .line 207
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            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 /* this */
            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 // com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream this
      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 // com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream this
        start local 1 // byte[] b
        start local 2 // int off
        start local 3 // int sz
         0: .line 212
            aload 0 /* this */
            invokevirtual com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream.fetch:()Z
            ifne 2
         1: .line 213
            iconst_m1
            ireturn
         2: .line 215
      StackMap locals:
      StackMap stack:
            iload 3 /* sz */
            aload 0 /* this */
            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 /* this */
            getfield com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream.curOff:I
            aload 0 /* this */
            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 /* sz */
         3: .line 216
            aload 0 /* this */
            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 /* this */
            getfield com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream.curOff:I
            aload 1 /* b */
            iload 2 /* off */
            iload 3 /* sz */
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
         4: .line 217
            aload 0 /* this */
            dup
            getfield com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream.curOff:I
            iload 3 /* sz */
            iadd
            putfield com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream.curOff:I
         5: .line 218
            iload 3 /* sz */
            ireturn
        end local 3 // int sz
        end local 2 // int off
        end local 1 // byte[] b
        end local 0 // com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream this
      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 // com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream this
         0: .line 223
            aload 0 /* this */
            getfield com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream.head:Lcom/sun/xml/internal/ws/util/ReadAllStream$MemoryStream$Chunk;
            ifnonnull 2
         1: .line 224
            iconst_0
            ireturn
         2: .line 226
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream.curOff:I
            aload 0 /* this */
            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 /* this */
            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: .line 227
            aload 0 /* this */
            aload 0 /* this */
            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: .line 228
            aload 0 /* this */
            getfield com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream.head:Lcom/sun/xml/internal/ws/util/ReadAllStream$MemoryStream$Chunk;
            ifnonnull 6
         5: .line 229
            iconst_0
            ireturn
         6: .line 231
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 0 /* this */
            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: .line 233
      StackMap locals:
      StackMap stack:
            iconst_1
            ireturn
        end local 0 // com.sun.xml.internal.ws.util.ReadAllStream$MemoryStream this
      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