final class com.sun.imageio.plugins.png.IDATOutputStream extends javax.imageio.stream.ImageOutputStreamImpl
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: com.sun.imageio.plugins.png.IDATOutputStream
  super_class: javax.imageio.stream.ImageOutputStreamImpl
{
  private static byte[] chunkType;
    descriptor: [B
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC

  private javax.imageio.stream.ImageOutputStream stream;
    descriptor: Ljavax/imageio/stream/ImageOutputStream;
    flags: (0x0002) ACC_PRIVATE

  private int chunkLength;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private long startPos;
    descriptor: J
    flags: (0x0002) ACC_PRIVATE

  private com.sun.imageio.plugins.png.CRC crc;
    descriptor: Lcom/sun/imageio/plugins/png/CRC;
    flags: (0x0002) ACC_PRIVATE

  java.util.zip.Deflater def;
    descriptor: Ljava/util/zip/Deflater;
    flags: (0x0000) 

  byte[] buf;
    descriptor: [B
    flags: (0x0000) 

  private int bytesRemaining;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=4, locals=0, args_size=0
         0: .line 153
            iconst_4
            newarray 8
            dup
            iconst_0
         1: .line 154
            bipush 73
            bastore
            dup
            iconst_1
            bipush 68
            bastore
            dup
            iconst_2
            bipush 65
            bastore
            dup
            iconst_3
            bipush 84
            bastore
         2: .line 153
            putstatic com.sun.imageio.plugins.png.IDATOutputStream.chunkType:[B
         3: .line 155
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>(javax.imageio.stream.ImageOutputStream, int);
    descriptor: (Ljavax/imageio/stream/ImageOutputStream;I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=3
        start local 0 // com.sun.imageio.plugins.png.IDATOutputStream this
        start local 1 // javax.imageio.stream.ImageOutputStream stream
        start local 2 // int chunkLength
         0: .line 167
            aload 0 /* this */
            invokespecial javax.imageio.stream.ImageOutputStreamImpl.<init>:()V
         1: .line 160
            aload 0 /* this */
            new com.sun.imageio.plugins.png.CRC
            dup
            invokespecial com.sun.imageio.plugins.png.CRC.<init>:()V
            putfield com.sun.imageio.plugins.png.IDATOutputStream.crc:Lcom/sun/imageio/plugins/png/CRC;
         2: .line 162
            aload 0 /* this */
            new java.util.zip.Deflater
            dup
            bipush 9
            invokespecial java.util.zip.Deflater.<init>:(I)V
            putfield com.sun.imageio.plugins.png.IDATOutputStream.def:Ljava/util/zip/Deflater;
         3: .line 163
            aload 0 /* this */
            sipush 512
            newarray 8
            putfield com.sun.imageio.plugins.png.IDATOutputStream.buf:[B
         4: .line 169
            aload 0 /* this */
            aload 1 /* stream */
            putfield com.sun.imageio.plugins.png.IDATOutputStream.stream:Ljavax/imageio/stream/ImageOutputStream;
         5: .line 170
            aload 0 /* this */
            iload 2 /* chunkLength */
            putfield com.sun.imageio.plugins.png.IDATOutputStream.chunkLength:I
         6: .line 171
            aload 0 /* this */
            invokevirtual com.sun.imageio.plugins.png.IDATOutputStream.startChunk:()V
         7: .line 172
            return
        end local 2 // int chunkLength
        end local 1 // javax.imageio.stream.ImageOutputStream stream
        end local 0 // com.sun.imageio.plugins.png.IDATOutputStream this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    8     0         this  Lcom/sun/imageio/plugins/png/IDATOutputStream;
            0    8     1       stream  Ljavax/imageio/stream/ImageOutputStream;
            0    8     2  chunkLength  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
             Name  Flags
      stream       
      chunkLength  

  private void startChunk();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // com.sun.imageio.plugins.png.IDATOutputStream this
         0: .line 175
            aload 0 /* this */
            getfield com.sun.imageio.plugins.png.IDATOutputStream.crc:Lcom/sun/imageio/plugins/png/CRC;
            invokevirtual com.sun.imageio.plugins.png.CRC.reset:()V
         1: .line 176
            aload 0 /* this */
            aload 0 /* this */
            getfield com.sun.imageio.plugins.png.IDATOutputStream.stream:Ljavax/imageio/stream/ImageOutputStream;
            invokeinterface javax.imageio.stream.ImageOutputStream.getStreamPosition:()J
            putfield com.sun.imageio.plugins.png.IDATOutputStream.startPos:J
         2: .line 177
            aload 0 /* this */
            getfield com.sun.imageio.plugins.png.IDATOutputStream.stream:Ljavax/imageio/stream/ImageOutputStream;
            iconst_m1
            invokeinterface javax.imageio.stream.ImageOutputStream.writeInt:(I)V
         3: .line 179
            aload 0 /* this */
            getfield com.sun.imageio.plugins.png.IDATOutputStream.crc:Lcom/sun/imageio/plugins/png/CRC;
            getstatic com.sun.imageio.plugins.png.IDATOutputStream.chunkType:[B
            iconst_0
            iconst_4
            invokevirtual com.sun.imageio.plugins.png.CRC.update:([BII)V
         4: .line 180
            aload 0 /* this */
            getfield com.sun.imageio.plugins.png.IDATOutputStream.stream:Ljavax/imageio/stream/ImageOutputStream;
            getstatic com.sun.imageio.plugins.png.IDATOutputStream.chunkType:[B
            iconst_0
            iconst_4
            invokeinterface javax.imageio.stream.ImageOutputStream.write:([BII)V
         5: .line 182
            aload 0 /* this */
            aload 0 /* this */
            getfield com.sun.imageio.plugins.png.IDATOutputStream.chunkLength:I
            putfield com.sun.imageio.plugins.png.IDATOutputStream.bytesRemaining:I
         6: .line 183
            return
        end local 0 // com.sun.imageio.plugins.png.IDATOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Lcom/sun/imageio/plugins/png/IDATOutputStream;
    Exceptions:
      throws java.io.IOException

  private void finishChunk();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=3, args_size=1
        start local 0 // com.sun.imageio.plugins.png.IDATOutputStream this
         0: .line 187
            aload 0 /* this */
            getfield com.sun.imageio.plugins.png.IDATOutputStream.stream:Ljavax/imageio/stream/ImageOutputStream;
            aload 0 /* this */
            getfield com.sun.imageio.plugins.png.IDATOutputStream.crc:Lcom/sun/imageio/plugins/png/CRC;
            invokevirtual com.sun.imageio.plugins.png.CRC.getValue:()I
            invokeinterface javax.imageio.stream.ImageOutputStream.writeInt:(I)V
         1: .line 190
            aload 0 /* this */
            getfield com.sun.imageio.plugins.png.IDATOutputStream.stream:Ljavax/imageio/stream/ImageOutputStream;
            invokeinterface javax.imageio.stream.ImageOutputStream.getStreamPosition:()J
            lstore 1 /* pos */
        start local 1 // long pos
         2: .line 191
            aload 0 /* this */
            getfield com.sun.imageio.plugins.png.IDATOutputStream.stream:Ljavax/imageio/stream/ImageOutputStream;
            aload 0 /* this */
            getfield com.sun.imageio.plugins.png.IDATOutputStream.startPos:J
            invokeinterface javax.imageio.stream.ImageOutputStream.seek:(J)V
         3: .line 192
            aload 0 /* this */
            getfield com.sun.imageio.plugins.png.IDATOutputStream.stream:Ljavax/imageio/stream/ImageOutputStream;
            lload 1 /* pos */
            aload 0 /* this */
            getfield com.sun.imageio.plugins.png.IDATOutputStream.startPos:J
            lsub
            l2i
            bipush 12
            isub
            invokeinterface javax.imageio.stream.ImageOutputStream.writeInt:(I)V
         4: .line 195
            aload 0 /* this */
            getfield com.sun.imageio.plugins.png.IDATOutputStream.stream:Ljavax/imageio/stream/ImageOutputStream;
            lload 1 /* pos */
            invokeinterface javax.imageio.stream.ImageOutputStream.seek:(J)V
         5: .line 196
            aload 0 /* this */
            getfield com.sun.imageio.plugins.png.IDATOutputStream.stream:Ljavax/imageio/stream/ImageOutputStream;
            lload 1 /* pos */
            invokeinterface javax.imageio.stream.ImageOutputStream.flushBefore:(J)V
         6: .line 197
            return
        end local 1 // long pos
        end local 0 // com.sun.imageio.plugins.png.IDATOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Lcom/sun/imageio/plugins/png/IDATOutputStream;
            2    7     1   pos  J
    Exceptions:
      throws java.io.IOException

  public int read();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // com.sun.imageio.plugins.png.IDATOutputStream this
         0: .line 200
            new java.lang.RuntimeException
            dup
            ldc "Method not available"
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
            athrow
        end local 0 // com.sun.imageio.plugins.png.IDATOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/sun/imageio/plugins/png/IDATOutputStream;
    Exceptions:
      throws java.io.IOException

  public int read(byte[], int, int);
    descriptor: ([BII)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=4, args_size=4
        start local 0 // com.sun.imageio.plugins.png.IDATOutputStream this
        start local 1 // byte[] b
        start local 2 // int off
        start local 3 // int len
         0: .line 204
            new java.lang.RuntimeException
            dup
            ldc "Method not available"
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
            athrow
        end local 3 // int len
        end local 2 // int off
        end local 1 // byte[] b
        end local 0 // com.sun.imageio.plugins.png.IDATOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/sun/imageio/plugins/png/IDATOutputStream;
            0    1     1     b  [B
            0    1     2   off  I
            0    1     3   len  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      b     
      off   
      len   

  public void write(byte[], int, int);
    descriptor: ([BII)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=4, args_size=4
        start local 0 // com.sun.imageio.plugins.png.IDATOutputStream this
        start local 1 // byte[] b
        start local 2 // int off
        start local 3 // int len
         0: .line 208
            iload 3 /* len */
            ifne 2
         1: .line 209
            return
         2: .line 212
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.imageio.plugins.png.IDATOutputStream.def:Ljava/util/zip/Deflater;
            invokevirtual java.util.zip.Deflater.finished:()Z
            ifne 7
         3: .line 213
            aload 0 /* this */
            getfield com.sun.imageio.plugins.png.IDATOutputStream.def:Ljava/util/zip/Deflater;
            aload 1 /* b */
            iload 2 /* off */
            iload 3 /* len */
            invokevirtual java.util.zip.Deflater.setInput:([BII)V
         4: .line 214
            goto 6
         5: .line 215
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual com.sun.imageio.plugins.png.IDATOutputStream.deflate:()V
         6: .line 214
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.imageio.plugins.png.IDATOutputStream.def:Ljava/util/zip/Deflater;
            invokevirtual java.util.zip.Deflater.needsInput:()Z
            ifeq 5
         7: .line 218
      StackMap locals:
      StackMap stack:
            return
        end local 3 // int len
        end local 2 // int off
        end local 1 // byte[] b
        end local 0 // com.sun.imageio.plugins.png.IDATOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Lcom/sun/imageio/plugins/png/IDATOutputStream;
            0    8     1     b  [B
            0    8     2   off  I
            0    8     3   len  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      b     
      off   
      len   

  public void deflate();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=4, args_size=1
        start local 0 // com.sun.imageio.plugins.png.IDATOutputStream this
         0: .line 221
            aload 0 /* this */
            getfield com.sun.imageio.plugins.png.IDATOutputStream.def:Ljava/util/zip/Deflater;
            aload 0 /* this */
            getfield com.sun.imageio.plugins.png.IDATOutputStream.buf:[B
            iconst_0
            aload 0 /* this */
            getfield com.sun.imageio.plugins.png.IDATOutputStream.buf:[B
            arraylength
            invokevirtual java.util.zip.Deflater.deflate:([BII)I
            istore 1 /* len */
        start local 1 // int len
         1: .line 222
            iconst_0
            istore 2 /* off */
        start local 2 // int off
         2: .line 224
            goto 12
         3: .line 225
      StackMap locals: int int
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.imageio.plugins.png.IDATOutputStream.bytesRemaining:I
            ifne 6
         4: .line 226
            aload 0 /* this */
            invokevirtual com.sun.imageio.plugins.png.IDATOutputStream.finishChunk:()V
         5: .line 227
            aload 0 /* this */
            invokevirtual com.sun.imageio.plugins.png.IDATOutputStream.startChunk:()V
         6: .line 230
      StackMap locals:
      StackMap stack:
            iload 1 /* len */
            aload 0 /* this */
            getfield com.sun.imageio.plugins.png.IDATOutputStream.bytesRemaining:I
            invokestatic java.lang.Math.min:(II)I
            istore 3 /* nbytes */
        start local 3 // int nbytes
         7: .line 231
            aload 0 /* this */
            getfield com.sun.imageio.plugins.png.IDATOutputStream.crc:Lcom/sun/imageio/plugins/png/CRC;
            aload 0 /* this */
            getfield com.sun.imageio.plugins.png.IDATOutputStream.buf:[B
            iload 2 /* off */
            iload 3 /* nbytes */
            invokevirtual com.sun.imageio.plugins.png.CRC.update:([BII)V
         8: .line 232
            aload 0 /* this */
            getfield com.sun.imageio.plugins.png.IDATOutputStream.stream:Ljavax/imageio/stream/ImageOutputStream;
            aload 0 /* this */
            getfield com.sun.imageio.plugins.png.IDATOutputStream.buf:[B
            iload 2 /* off */
            iload 3 /* nbytes */
            invokeinterface javax.imageio.stream.ImageOutputStream.write:([BII)V
         9: .line 234
            iload 2 /* off */
            iload 3 /* nbytes */
            iadd
            istore 2 /* off */
        10: .line 235
            iload 1 /* len */
            iload 3 /* nbytes */
            isub
            istore 1 /* len */
        11: .line 236
            aload 0 /* this */
            dup
            getfield com.sun.imageio.plugins.png.IDATOutputStream.bytesRemaining:I
            iload 3 /* nbytes */
            isub
            putfield com.sun.imageio.plugins.png.IDATOutputStream.bytesRemaining:I
        end local 3 // int nbytes
        12: .line 224
      StackMap locals:
      StackMap stack:
            iload 1 /* len */
            ifgt 3
        13: .line 238
            return
        end local 2 // int off
        end local 1 // int len
        end local 0 // com.sun.imageio.plugins.png.IDATOutputStream this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   14     0    this  Lcom/sun/imageio/plugins/png/IDATOutputStream;
            1   14     1     len  I
            2   14     2     off  I
            7   12     3  nbytes  I
    Exceptions:
      throws java.io.IOException

  public void write(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // com.sun.imageio.plugins.png.IDATOutputStream this
        start local 1 // int b
         0: .line 241
            iconst_1
            newarray 8
            astore 2 /* wbuf */
        start local 2 // byte[] wbuf
         1: .line 242
            aload 2 /* wbuf */
            iconst_0
            iload 1 /* b */
            i2b
            bastore
         2: .line 243
            aload 0 /* this */
            aload 2 /* wbuf */
            iconst_0
            iconst_1
            invokevirtual com.sun.imageio.plugins.png.IDATOutputStream.write:([BII)V
         3: .line 244
            return
        end local 2 // byte[] wbuf
        end local 1 // int b
        end local 0 // com.sun.imageio.plugins.png.IDATOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lcom/sun/imageio/plugins/png/IDATOutputStream;
            0    4     1     b  I
            1    4     2  wbuf  [B
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      b     

  public void finish();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=2, args_size=1
        start local 0 // com.sun.imageio.plugins.png.IDATOutputStream this
         0: .line 248
            aload 0 /* this */
            getfield com.sun.imageio.plugins.png.IDATOutputStream.def:Ljava/util/zip/Deflater;
            invokevirtual java.util.zip.Deflater.finished:()Z
            ifne 5
         1: .line 249
            aload 0 /* this */
            getfield com.sun.imageio.plugins.png.IDATOutputStream.def:Ljava/util/zip/Deflater;
            invokevirtual java.util.zip.Deflater.finish:()V
         2: .line 250
            goto 4
         3: .line 251
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual com.sun.imageio.plugins.png.IDATOutputStream.deflate:()V
         4: .line 250
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.imageio.plugins.png.IDATOutputStream.def:Ljava/util/zip/Deflater;
            invokevirtual java.util.zip.Deflater.finished:()Z
            ifeq 3
         5: .line 254
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual com.sun.imageio.plugins.png.IDATOutputStream.finishChunk:()V
         6: .line 255
            goto 10
      StackMap locals:
      StackMap stack: java.lang.Throwable
         7: astore 1
         8: .line 256
            aload 0 /* this */
            getfield com.sun.imageio.plugins.png.IDATOutputStream.def:Ljava/util/zip/Deflater;
            invokevirtual java.util.zip.Deflater.end:()V
         9: .line 257
            aload 1
            athrow
        10: .line 256
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.imageio.plugins.png.IDATOutputStream.def:Ljava/util/zip/Deflater;
            invokevirtual java.util.zip.Deflater.end:()V
        11: .line 258
            return
        end local 0 // com.sun.imageio.plugins.png.IDATOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   12     0  this  Lcom/sun/imageio/plugins/png/IDATOutputStream;
      Exception table:
        from    to  target  type
           0     7       7  any
    Exceptions:
      throws java.io.IOException

  protected void finalize();
    descriptor: ()V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=0, locals=1, args_size=1
        start local 0 // com.sun.imageio.plugins.png.IDATOutputStream this
         0: .line 263
            return
        end local 0 // com.sun.imageio.plugins.png.IDATOutputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/sun/imageio/plugins/png/IDATOutputStream;
    Exceptions:
      throws java.lang.Throwable
}
SourceFile: "PNGImageWriter.java"