public final class com.ctc.wstx.io.MergedStream extends java.io.InputStream
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.ctc.wstx.io.MergedStream
super_class: java.io.InputStream
{
final com.ctc.wstx.api.ReaderConfig mConfig;
descriptor: Lcom/ctc/wstx/api/ReaderConfig;
flags: (0x0010) ACC_FINAL
final java.io.InputStream mIn;
descriptor: Ljava/io/InputStream;
flags: (0x0010) ACC_FINAL
byte[] mData;
descriptor: [B
flags: (0x0000)
int mPtr;
descriptor: I
flags: (0x0000)
final int mEnd;
descriptor: I
flags: (0x0010) ACC_FINAL
public void <init>(com.ctc.wstx.api.ReaderConfig, java.io.InputStream, byte[], int, int);
descriptor: (Lcom/ctc/wstx/api/ReaderConfig;Ljava/io/InputStream;[BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokespecial java.io.InputStream.<init>:()V
1: aload 0
aload 1
putfield com.ctc.wstx.io.MergedStream.mConfig:Lcom/ctc/wstx/api/ReaderConfig;
2: aload 0
aload 2
putfield com.ctc.wstx.io.MergedStream.mIn:Ljava/io/InputStream;
3: aload 0
aload 3
putfield com.ctc.wstx.io.MergedStream.mData:[B
4: aload 0
iload 4
putfield com.ctc.wstx.io.MergedStream.mPtr:I
5: aload 0
iload 5
putfield com.ctc.wstx.io.MergedStream.mEnd:I
6: return
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 7 0 this Lcom/ctc/wstx/io/MergedStream;
0 7 1 cfg Lcom/ctc/wstx/api/ReaderConfig;
0 7 2 in Ljava/io/InputStream;
0 7 3 buf [B
0 7 4 start I
0 7 5 end I
MethodParameters:
Name Flags
cfg
in
buf
start
end
public int available();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.io.MergedStream.mData:[B
ifnull 2
1: aload 0
getfield com.ctc.wstx.io.MergedStream.mEnd:I
aload 0
getfield com.ctc.wstx.io.MergedStream.mPtr:I
isub
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.io.MergedStream.mIn:Ljava/io/InputStream;
invokevirtual java.io.InputStream.available:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/ctc/wstx/io/MergedStream;
Exceptions:
throws java.io.IOException
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.ctc.wstx.io.MergedStream.freeMergedBuffer:()V
1: aload 0
getfield com.ctc.wstx.io.MergedStream.mIn:Ljava/io/InputStream;
invokevirtual java.io.InputStream.close:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/ctc/wstx/io/MergedStream;
Exceptions:
throws java.io.IOException
public void mark(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.ctc.wstx.io.MergedStream.mData:[B
ifnonnull 2
1: aload 0
getfield com.ctc.wstx.io.MergedStream.mIn:Ljava/io/InputStream;
iload 1
invokevirtual java.io.InputStream.mark:(I)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/ctc/wstx/io/MergedStream;
0 3 1 readlimit I
MethodParameters:
Name Flags
readlimit
public boolean markSupported();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.io.MergedStream.mData:[B
ifnonnull 1
aload 0
getfield com.ctc.wstx.io.MergedStream.mIn:Ljava/io/InputStream;
invokevirtual java.io.InputStream.markSupported:()Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/ctc/wstx/io/MergedStream;
public int read();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.io.MergedStream.mData:[B
ifnull 5
1: aload 0
getfield com.ctc.wstx.io.MergedStream.mData:[B
aload 0
dup
getfield com.ctc.wstx.io.MergedStream.mPtr:I
dup_x1
iconst_1
iadd
putfield com.ctc.wstx.io.MergedStream.mPtr:I
baload
sipush 255
iand
istore 1
start local 1 2: aload 0
getfield com.ctc.wstx.io.MergedStream.mPtr:I
aload 0
getfield com.ctc.wstx.io.MergedStream.mEnd:I
if_icmplt 4
3: aload 0
invokevirtual com.ctc.wstx.io.MergedStream.freeMergedBuffer:()V
4: StackMap locals: int
StackMap stack:
iload 1
ireturn
end local 1 5: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.io.MergedStream.mIn:Ljava/io/InputStream;
invokevirtual java.io.InputStream.read:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/ctc/wstx/io/MergedStream;
2 5 1 c I
Exceptions:
throws java.io.IOException
public int read(byte[]);
descriptor: ([B)I
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 com.ctc.wstx.io.MergedStream.read:([BII)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/ctc/wstx/io/MergedStream;
0 1 1 b [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
public int read(byte[], int, int);
descriptor: ([BII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.ctc.wstx.io.MergedStream.mData:[B
ifnull 9
1: aload 0
getfield com.ctc.wstx.io.MergedStream.mEnd:I
aload 0
getfield com.ctc.wstx.io.MergedStream.mPtr:I
isub
istore 4
start local 4 2: iload 3
iload 4
if_icmple 4
3: iload 4
istore 3
4: StackMap locals: int
StackMap stack:
aload 0
getfield com.ctc.wstx.io.MergedStream.mData:[B
aload 0
getfield com.ctc.wstx.io.MergedStream.mPtr:I
aload 1
iload 2
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
5: aload 0
dup
getfield com.ctc.wstx.io.MergedStream.mPtr:I
iload 3
iadd
putfield com.ctc.wstx.io.MergedStream.mPtr:I
6: aload 0
getfield com.ctc.wstx.io.MergedStream.mPtr:I
aload 0
getfield com.ctc.wstx.io.MergedStream.mEnd:I
if_icmplt 8
7: aload 0
invokevirtual com.ctc.wstx.io.MergedStream.freeMergedBuffer:()V
8: StackMap locals:
StackMap stack:
iload 3
ireturn
end local 4 9: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.io.MergedStream.mIn:Ljava/io/InputStream;
aload 1
iload 2
iload 3
invokevirtual java.io.InputStream.read:([BII)I
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/ctc/wstx/io/MergedStream;
0 10 1 b [B
0 10 2 off I
0 10 3 len I
2 9 4 avail I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
off
len
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.io.MergedStream.mData:[B
ifnonnull 2
1: aload 0
getfield com.ctc.wstx.io.MergedStream.mIn:Ljava/io/InputStream;
invokevirtual java.io.InputStream.reset:()V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/ctc/wstx/io/MergedStream;
Exceptions:
throws java.io.IOException
public long skip(long);
descriptor: (J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: lconst_0
lstore 3
start local 3 1: aload 0
getfield com.ctc.wstx.io.MergedStream.mData:[B
ifnull 9
2: aload 0
getfield com.ctc.wstx.io.MergedStream.mEnd:I
aload 0
getfield com.ctc.wstx.io.MergedStream.mPtr:I
isub
istore 5
start local 5 3: iload 5
i2l
lload 1
lcmp
ifle 6
4: aload 0
dup
getfield com.ctc.wstx.io.MergedStream.mPtr:I
lload 1
l2i
iadd
putfield com.ctc.wstx.io.MergedStream.mPtr:I
5: lload 1
lreturn
6: StackMap locals: long int
StackMap stack:
aload 0
invokevirtual com.ctc.wstx.io.MergedStream.freeMergedBuffer:()V
7: lload 3
iload 5
i2l
ladd
lstore 3
8: lload 1
iload 5
i2l
lsub
lstore 1
end local 5 9: StackMap locals:
StackMap stack:
lload 1
lconst_0
lcmp
ifle 11
10: lload 3
aload 0
getfield com.ctc.wstx.io.MergedStream.mIn:Ljava/io/InputStream;
lload 1
invokevirtual java.io.InputStream.skip:(J)J
ladd
lstore 3
11: StackMap locals:
StackMap stack:
lload 3
lreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/ctc/wstx/io/MergedStream;
0 12 1 n J
1 12 3 count J
3 9 5 amount I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
n
private void freeMergedBuffer();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.io.MergedStream.mData:[B
ifnull 5
1: aload 0
getfield com.ctc.wstx.io.MergedStream.mData:[B
astore 1
start local 1 2: aload 0
aconst_null
putfield com.ctc.wstx.io.MergedStream.mData:[B
3: aload 0
getfield com.ctc.wstx.io.MergedStream.mConfig:Lcom/ctc/wstx/api/ReaderConfig;
ifnull 5
4: aload 0
getfield com.ctc.wstx.io.MergedStream.mConfig:Lcom/ctc/wstx/api/ReaderConfig;
aload 1
invokevirtual com.ctc.wstx.api.ReaderConfig.freeFullBBuffer:([B)V
end local 1 5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/ctc/wstx/io/MergedStream;
2 5 1 data [B
}
SourceFile: "MergedStream.java"