public final class org.xnio.conduits.InflatingStreamSourceConduit extends org.xnio.conduits.AbstractStreamSourceConduit<org.xnio.conduits.StreamSourceConduit> implements org.xnio.conduits.StreamSourceConduit
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.xnio.conduits.InflatingStreamSourceConduit
super_class: org.xnio.conduits.AbstractStreamSourceConduit
{
private final java.util.zip.Inflater inflater;
descriptor: Ljava/util/zip/Inflater;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.nio.ByteBuffer buffer;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.xnio.conduits.StreamSourceConduit, java.util.zip.Inflater);
descriptor: (Lorg/xnio/conduits/StreamSourceConduit;Ljava/util/zip/Inflater;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokespecial org.xnio.conduits.AbstractStreamSourceConduit.<init>:(Lorg/xnio/conduits/StreamSourceConduit;)V
1: aload 0
aload 2
putfield org.xnio.conduits.InflatingStreamSourceConduit.inflater:Ljava/util/zip/Inflater;
2: aload 0
sipush 16384
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
putfield org.xnio.conduits.InflatingStreamSourceConduit.buffer:Ljava/nio/ByteBuffer;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/xnio/conduits/InflatingStreamSourceConduit;
0 4 1 next Lorg/xnio/conduits/StreamSourceConduit;
0 4 2 inflater Ljava/util/zip/Inflater;
MethodParameters:
Name Flags
next final
inflater final
public long transferTo(long, long, java.nio.channels.FileChannel);
descriptor: (JJLjava/nio/channels/FileChannel;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 3 start local 5 0: aload 5
new org.xnio.conduits.ConduitReadableByteChannel
dup
aload 0
invokespecial org.xnio.conduits.ConduitReadableByteChannel.<init>:(Lorg/xnio/conduits/StreamSourceConduit;)V
lload 1
lload 3
invokevirtual java.nio.channels.FileChannel.transferFrom:(Ljava/nio/channels/ReadableByteChannel;JJ)J
lreturn
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/xnio/conduits/InflatingStreamSourceConduit;
0 1 1 position J
0 1 3 count J
0 1 5 target Ljava/nio/channels/FileChannel;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
position final
count final
target final
public long transferTo(long, java.nio.ByteBuffer, org.xnio.channels.StreamSinkChannel);
descriptor: (JLjava/nio/ByteBuffer;Lorg/xnio/channels/StreamSinkChannel;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 3 start local 4 0: aload 0
lload 1
aload 3
aload 4
invokestatic org.xnio.conduits.Conduits.transfer:(Lorg/xnio/conduits/StreamSourceConduit;JLjava/nio/ByteBuffer;Ljava/nio/channels/WritableByteChannel;)J
lreturn
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/xnio/conduits/InflatingStreamSourceConduit;
0 1 1 count J
0 1 3 throughBuffer Ljava/nio/ByteBuffer;
0 1 4 target Lorg/xnio/channels/StreamSinkChannel;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
count final
throughBuffer final
target final
public int read(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=9, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
istore 2
start local 2 1: aload 1
invokevirtual java.nio.ByteBuffer.position:()I
istore 3
start local 3 2: aload 0
getfield org.xnio.conduits.InflatingStreamSourceConduit.inflater:Ljava/util/zip/Inflater;
astore 4
start local 4 3: aload 1
invokevirtual java.nio.ByteBuffer.hasArray:()Z
ifeq 22
4: aload 1
invokevirtual java.nio.ByteBuffer.array:()[B
astore 6
start local 6 5: aload 1
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
istore 7
start local 7 6: StackMap locals: org.xnio.conduits.InflatingStreamSourceConduit java.nio.ByteBuffer int int java.util.zip.Inflater top byte[] int
StackMap stack:
aload 4
aload 6
iload 7
iload 3
iadd
iload 2
invokevirtual java.util.zip.Inflater.inflate:([BII)I
istore 5
start local 5 7: goto 10
end local 5 StackMap locals:
StackMap stack: java.util.zip.DataFormatException
8: astore 8
start local 8 9: new java.io.IOException
dup
aload 8
invokespecial java.io.IOException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 8 start local 5 10: StackMap locals: org.xnio.conduits.InflatingStreamSourceConduit java.nio.ByteBuffer int int java.util.zip.Inflater int byte[] int
StackMap stack:
iload 5
ifle 13
11: aload 1
iload 3
iload 5
iadd
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
12: iload 5
ireturn
13: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.util.zip.Inflater.needsDictionary:()Z
ifeq 15
14: getstatic org.xnio._private.Messages.msg:Lorg/xnio/_private/Messages;
invokeinterface org.xnio._private.Messages.inflaterNeedsDictionary:()Ljava/io/IOException;
athrow
15: StackMap locals:
StackMap stack:
aload 0
getfield org.xnio.conduits.InflatingStreamSourceConduit.buffer:Ljava/nio/ByteBuffer;
astore 8
start local 8 16: aload 8
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
pop
17: aload 0
getfield org.xnio.conduits.InflatingStreamSourceConduit.next:Lorg/xnio/conduits/Conduit;
checkcast org.xnio.conduits.StreamSourceConduit
aload 8
invokeinterface org.xnio.conduits.StreamSourceConduit.read:(Ljava/nio/ByteBuffer;)I
istore 5
18: iload 5
ifle 21
19: aload 4
aload 8
invokevirtual java.nio.ByteBuffer.array:()[B
aload 8
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
iload 5
invokevirtual java.util.zip.Inflater.setInput:([BII)V
20: goto 6
21: StackMap locals: java.nio.ByteBuffer
StackMap stack:
iload 5
ireturn
end local 8 end local 7 end local 6 end local 5 22: StackMap locals: org.xnio.conduits.InflatingStreamSourceConduit java.nio.ByteBuffer int int java.util.zip.Inflater
StackMap stack:
iload 2
newarray 8
astore 6
start local 6 23: StackMap locals: org.xnio.conduits.InflatingStreamSourceConduit java.nio.ByteBuffer int int java.util.zip.Inflater top byte[]
StackMap stack:
aload 4
aload 6
invokevirtual java.util.zip.Inflater.inflate:([B)I
istore 5
start local 5 24: goto 27
end local 5 StackMap locals:
StackMap stack: java.util.zip.DataFormatException
25: astore 7
start local 7 26: new java.io.IOException
dup
aload 7
invokespecial java.io.IOException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 7 start local 5 27: StackMap locals: org.xnio.conduits.InflatingStreamSourceConduit java.nio.ByteBuffer int int java.util.zip.Inflater int byte[]
StackMap stack:
iload 5
ifle 30
28: aload 1
aload 6
iconst_0
iload 5
invokevirtual java.nio.ByteBuffer.put:([BII)Ljava/nio/ByteBuffer;
pop
29: iload 5
ireturn
30: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.util.zip.Inflater.needsDictionary:()Z
ifeq 32
31: getstatic org.xnio._private.Messages.msg:Lorg/xnio/_private/Messages;
invokeinterface org.xnio._private.Messages.inflaterNeedsDictionary:()Ljava/io/IOException;
athrow
32: StackMap locals:
StackMap stack:
aload 0
getfield org.xnio.conduits.InflatingStreamSourceConduit.buffer:Ljava/nio/ByteBuffer;
astore 7
start local 7 33: aload 7
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
pop
34: aload 0
getfield org.xnio.conduits.InflatingStreamSourceConduit.next:Lorg/xnio/conduits/Conduit;
checkcast org.xnio.conduits.StreamSourceConduit
aload 7
invokeinterface org.xnio.conduits.StreamSourceConduit.read:(Ljava/nio/ByteBuffer;)I
istore 5
35: iload 5
ifle 38
36: aload 4
aload 7
invokevirtual java.nio.ByteBuffer.array:()[B
aload 7
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
iload 5
invokevirtual java.util.zip.Inflater.setInput:([BII)V
37: goto 23
38: StackMap locals: java.nio.ByteBuffer
StackMap stack:
iload 5
ireturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 39 0 this Lorg/xnio/conduits/InflatingStreamSourceConduit;
0 39 1 dst Ljava/nio/ByteBuffer;
1 39 2 remaining I
2 39 3 position I
3 39 4 inflater Ljava/util/zip/Inflater;
7 8 5 res I
10 22 5 res I
24 25 5 res I
27 39 5 res I
5 22 6 array [B
6 22 7 off I
9 10 8 e Ljava/util/zip/DataFormatException;
16 22 8 buffer Ljava/nio/ByteBuffer;
23 39 6 space [B
26 27 7 e Ljava/util/zip/DataFormatException;
33 39 7 buffer Ljava/nio/ByteBuffer;
Exception table:
from to target type
6 7 8 Class java.util.zip.DataFormatException
23 24 25 Class java.util.zip.DataFormatException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
dst final
public long read(java.nio.ByteBuffer[]);
descriptor: ([Ljava/nio/ByteBuffer;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
aload 1
arraylength
invokevirtual org.xnio.conduits.InflatingStreamSourceConduit.read:([Ljava/nio/ByteBuffer;II)J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/xnio/conduits/InflatingStreamSourceConduit;
0 1 1 dsts [Ljava/nio/ByteBuffer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
dsts final
public long read(java.nio.ByteBuffer[], int, int);
descriptor: ([Ljava/nio/ByteBuffer;II)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_0
istore 4
start local 4 1: goto 6
2: StackMap locals: int
StackMap stack:
aload 1
iload 4
iload 2
iadd
aaload
astore 5
start local 5 3: aload 5
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifeq 5
4: aload 0
aload 5
invokevirtual org.xnio.conduits.InflatingStreamSourceConduit.read:(Ljava/nio/ByteBuffer;)I
i2l
lreturn
end local 5 5: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
6: iload 4
iload 3
if_icmplt 2
end local 4 7: lconst_0
lreturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/xnio/conduits/InflatingStreamSourceConduit;
0 8 1 dsts [Ljava/nio/ByteBuffer;
0 8 2 offset I
0 8 3 length I
1 7 4 i I
3 5 5 buffer Ljava/nio/ByteBuffer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
dsts final
offset final
length final
public void terminateReads();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.xnio.conduits.InflatingStreamSourceConduit.inflater:Ljava/util/zip/Inflater;
invokevirtual java.util.zip.Inflater.end:()V
1: aload 0
getfield org.xnio.conduits.InflatingStreamSourceConduit.next:Lorg/xnio/conduits/Conduit;
checkcast org.xnio.conduits.StreamSourceConduit
invokeinterface org.xnio.conduits.StreamSourceConduit.terminateReads:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/xnio/conduits/InflatingStreamSourceConduit;
Exceptions:
throws java.io.IOException
public void awaitReadable();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.xnio.conduits.InflatingStreamSourceConduit.inflater:Ljava/util/zip/Inflater;
invokevirtual java.util.zip.Inflater.needsInput:()Z
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield org.xnio.conduits.InflatingStreamSourceConduit.next:Lorg/xnio/conduits/Conduit;
checkcast org.xnio.conduits.StreamSourceConduit
invokeinterface org.xnio.conduits.StreamSourceConduit.awaitReadable:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/xnio/conduits/InflatingStreamSourceConduit;
Exceptions:
throws java.io.IOException
public void awaitReadable(long, java.util.concurrent.TimeUnit);
descriptor: (JLjava/util/concurrent/TimeUnit;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
getfield org.xnio.conduits.InflatingStreamSourceConduit.inflater:Ljava/util/zip/Inflater;
invokevirtual java.util.zip.Inflater.needsInput:()Z
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield org.xnio.conduits.InflatingStreamSourceConduit.next:Lorg/xnio/conduits/Conduit;
checkcast org.xnio.conduits.StreamSourceConduit
lload 1
aload 3
invokeinterface org.xnio.conduits.StreamSourceConduit.awaitReadable:(JLjava/util/concurrent/TimeUnit;)V
3: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/xnio/conduits/InflatingStreamSourceConduit;
0 4 1 time J
0 4 3 timeUnit Ljava/util/concurrent/TimeUnit;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
time final
timeUnit final
}
Signature: Lorg/xnio/conduits/AbstractStreamSourceConduit<Lorg/xnio/conduits/StreamSourceConduit;>;Lorg/xnio/conduits/StreamSourceConduit;
SourceFile: "InflatingStreamSourceConduit.java"