final class com.sun.imageio.plugins.png.ChunkStream 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.ChunkStream
super_class: javax.imageio.stream.ImageOutputStreamImpl
{
private final javax.imageio.stream.ImageOutputStream stream;
descriptor: Ljavax/imageio/stream/ImageOutputStream;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long startPos;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.sun.imageio.plugins.png.CRC crc;
descriptor: Lcom/sun/imageio/plugins/png/CRC;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(int, javax.imageio.stream.ImageOutputStream);
descriptor: (ILjavax/imageio/stream/ImageOutputStream;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial javax.imageio.stream.ImageOutputStreamImpl.<init>:()V
1: aload 0
new com.sun.imageio.plugins.png.CRC
dup
invokespecial com.sun.imageio.plugins.png.CRC.<init>:()V
putfield com.sun.imageio.plugins.png.ChunkStream.crc:Lcom/sun/imageio/plugins/png/CRC;
2: aload 0
aload 2
putfield com.sun.imageio.plugins.png.ChunkStream.stream:Ljavax/imageio/stream/ImageOutputStream;
3: aload 0
aload 2
invokeinterface javax.imageio.stream.ImageOutputStream.getStreamPosition:()J
putfield com.sun.imageio.plugins.png.ChunkStream.startPos:J
4: aload 2
iconst_m1
invokeinterface javax.imageio.stream.ImageOutputStream.writeInt:(I)V
5: aload 0
iload 1
invokevirtual com.sun.imageio.plugins.png.ChunkStream.writeInt:(I)V
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/imageio/plugins/png/ChunkStream;
0 7 1 type I
0 7 2 stream Ljavax/imageio/stream/ImageOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
type
stream
public int read();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.RuntimeException
dup
ldc "Method not available"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/imageio/plugins/png/ChunkStream;
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 start local 1 start local 2 start local 3 0: new java.lang.RuntimeException
dup
ldc "Method not available"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/imageio/plugins/png/ChunkStream;
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 start local 1 start local 2 start local 3 0: aload 0
getfield com.sun.imageio.plugins.png.ChunkStream.crc:Lcom/sun/imageio/plugins/png/CRC;
aload 1
iload 2
iload 3
invokevirtual com.sun.imageio.plugins.png.CRC.update:([BII)V
1: aload 0
getfield com.sun.imageio.plugins.png.ChunkStream.stream:Ljavax/imageio/stream/ImageOutputStream;
aload 1
iload 2
iload 3
invokeinterface javax.imageio.stream.ImageOutputStream.write:([BII)V
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/imageio/plugins/png/ChunkStream;
0 3 1 b [B
0 3 2 off I
0 3 3 len I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
off
len
public void write(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.imageio.plugins.png.ChunkStream.crc:Lcom/sun/imageio/plugins/png/CRC;
iload 1
invokevirtual com.sun.imageio.plugins.png.CRC.update:(I)V
1: aload 0
getfield com.sun.imageio.plugins.png.ChunkStream.stream:Ljavax/imageio/stream/ImageOutputStream;
iload 1
invokeinterface javax.imageio.stream.ImageOutputStream.write:(I)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/imageio/plugins/png/ChunkStream;
0 3 1 b I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
void finish();
descriptor: ()V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
getfield com.sun.imageio.plugins.png.ChunkStream.stream:Ljavax/imageio/stream/ImageOutputStream;
aload 0
getfield com.sun.imageio.plugins.png.ChunkStream.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: aload 0
getfield com.sun.imageio.plugins.png.ChunkStream.stream:Ljavax/imageio/stream/ImageOutputStream;
invokeinterface javax.imageio.stream.ImageOutputStream.getStreamPosition:()J
lstore 1
start local 1 2: aload 0
getfield com.sun.imageio.plugins.png.ChunkStream.stream:Ljavax/imageio/stream/ImageOutputStream;
aload 0
getfield com.sun.imageio.plugins.png.ChunkStream.startPos:J
invokeinterface javax.imageio.stream.ImageOutputStream.seek:(J)V
3: aload 0
getfield com.sun.imageio.plugins.png.ChunkStream.stream:Ljavax/imageio/stream/ImageOutputStream;
lload 1
aload 0
getfield com.sun.imageio.plugins.png.ChunkStream.startPos:J
lsub
l2i
bipush 12
isub
invokeinterface javax.imageio.stream.ImageOutputStream.writeInt:(I)V
4: aload 0
getfield com.sun.imageio.plugins.png.ChunkStream.stream:Ljavax/imageio/stream/ImageOutputStream;
lload 1
invokeinterface javax.imageio.stream.ImageOutputStream.seek:(J)V
5: aload 0
getfield com.sun.imageio.plugins.png.ChunkStream.stream:Ljavax/imageio/stream/ImageOutputStream;
lload 1
invokeinterface javax.imageio.stream.ImageOutputStream.flushBefore:(J)V
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/imageio/plugins/png/ChunkStream;
2 7 1 pos J
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 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/imageio/plugins/png/ChunkStream;
Exceptions:
throws java.lang.Throwable
}
SourceFile: "PNGImageWriter.java"