public final class org.apache.tomcat.util.buf.ByteChunk extends org.apache.tomcat.util.buf.AbstractChunk
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.tomcat.util.buf.ByteChunk
super_class: org.apache.tomcat.util.buf.AbstractChunk
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final java.nio.charset.Charset DEFAULT_CHARSET;
descriptor: Ljava/nio/charset/Charset;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private transient java.nio.charset.Charset charset;
descriptor: Ljava/nio/charset/Charset;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private byte[] buff;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private transient org.apache.tomcat.util.buf.ByteChunk$ByteInputChannel in;
descriptor: Lorg/apache/tomcat/util/buf/ByteChunk$ByteInputChannel;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private transient org.apache.tomcat.util.buf.ByteChunk$ByteOutputChannel out;
descriptor: Lorg/apache/tomcat/util/buf/ByteChunk$ByteOutputChannel;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic java.nio.charset.StandardCharsets.ISO_8859_1:Ljava/nio/charset/Charset;
putstatic org.apache.tomcat.util.buf.ByteChunk.DEFAULT_CHARSET:Ljava/nio/charset/Charset;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.apache.tomcat.util.buf.AbstractChunk.<init>:()V
1: aload 0
aconst_null
putfield org.apache.tomcat.util.buf.ByteChunk.in:Lorg/apache/tomcat/util/buf/ByteChunk$ByteInputChannel;
2: aload 0
aconst_null
putfield org.apache.tomcat.util.buf.ByteChunk.out:Lorg/apache/tomcat/util/buf/ByteChunk$ByteOutputChannel;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/tomcat/util/buf/ByteChunk;
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.apache.tomcat.util.buf.AbstractChunk.<init>:()V
1: aload 0
aconst_null
putfield org.apache.tomcat.util.buf.ByteChunk.in:Lorg/apache/tomcat/util/buf/ByteChunk$ByteInputChannel;
2: aload 0
aconst_null
putfield org.apache.tomcat.util.buf.ByteChunk.out:Lorg/apache/tomcat/util/buf/ByteChunk$ByteOutputChannel;
3: aload 0
iload 1
iconst_m1
invokevirtual org.apache.tomcat.util.buf.ByteChunk.allocate:(II)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/tomcat/util/buf/ByteChunk;
0 5 1 initial I
MethodParameters:
Name Flags
initial
private void writeObject(java.io.ObjectOutputStream);
descriptor: (Ljava/io/ObjectOutputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectOutputStream.defaultWriteObject:()V
1: aload 1
aload 0
invokevirtual org.apache.tomcat.util.buf.ByteChunk.getCharset:()Ljava/nio/charset/Charset;
invokevirtual java.nio.charset.Charset.name:()Ljava/lang/String;
invokevirtual java.io.ObjectOutputStream.writeUTF:(Ljava/lang/String;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/buf/ByteChunk;
0 3 1 oos Ljava/io/ObjectOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
oos
private void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectInputStream.defaultReadObject:()V
1: aload 0
aload 1
invokevirtual java.io.ObjectInputStream.readUTF:()Ljava/lang/String;
invokestatic java.nio.charset.Charset.forName:(Ljava/lang/String;)Ljava/nio/charset/Charset;
putfield org.apache.tomcat.util.buf.ByteChunk.charset:Ljava/nio/charset/Charset;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/buf/ByteChunk;
0 3 1 ois Ljava/io/ObjectInputStream;
Exceptions:
throws java.lang.ClassNotFoundException, java.io.IOException
MethodParameters:
Name Flags
ois
public java.lang.Object clone();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.clone:()Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/buf/ByteChunk;
Exceptions:
throws java.lang.CloneNotSupportedException
public void recycle();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.apache.tomcat.util.buf.AbstractChunk.recycle:()V
1: aload 0
aconst_null
putfield org.apache.tomcat.util.buf.ByteChunk.charset:Ljava/nio/charset/Charset;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/buf/ByteChunk;
public void allocate(int, int);
descriptor: (II)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
getfield org.apache.tomcat.util.buf.ByteChunk.buff:[B
ifnull 1
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.buff:[B
arraylength
iload 1
if_icmpge 2
1: StackMap locals:
StackMap stack:
aload 0
iload 1
newarray 8
putfield org.apache.tomcat.util.buf.ByteChunk.buff:[B
2: StackMap locals:
StackMap stack:
aload 0
iload 2
invokevirtual org.apache.tomcat.util.buf.ByteChunk.setLimit:(I)V
3: aload 0
iconst_0
putfield org.apache.tomcat.util.buf.ByteChunk.start:I
4: aload 0
iconst_0
putfield org.apache.tomcat.util.buf.ByteChunk.end:I
5: aload 0
iconst_1
putfield org.apache.tomcat.util.buf.ByteChunk.isSet:Z
6: aload 0
iconst_0
putfield org.apache.tomcat.util.buf.ByteChunk.hasHashCode:Z
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/tomcat/util/buf/ByteChunk;
0 8 1 initial I
0 8 2 limit I
MethodParameters:
Name Flags
initial
limit
public void setBytes(byte[], int, int);
descriptor: ([BII)V
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: aload 0
aload 1
putfield org.apache.tomcat.util.buf.ByteChunk.buff:[B
1: aload 0
iload 2
putfield org.apache.tomcat.util.buf.ByteChunk.start:I
2: aload 0
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.start:I
iload 3
iadd
putfield org.apache.tomcat.util.buf.ByteChunk.end:I
3: aload 0
iconst_1
putfield org.apache.tomcat.util.buf.ByteChunk.isSet:Z
4: aload 0
iconst_0
putfield org.apache.tomcat.util.buf.ByteChunk.hasHashCode:Z
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/tomcat/util/buf/ByteChunk;
0 6 1 b [B
0 6 2 off I
0 6 3 len I
MethodParameters:
Name Flags
b
off
len
public void setCharset(java.nio.charset.Charset);
descriptor: (Ljava/nio/charset/Charset;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.apache.tomcat.util.buf.ByteChunk.charset:Ljava/nio/charset/Charset;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/buf/ByteChunk;
0 2 1 charset Ljava/nio/charset/Charset;
MethodParameters:
Name Flags
charset
public java.nio.charset.Charset getCharset();
descriptor: ()Ljava/nio/charset/Charset;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.charset:Ljava/nio/charset/Charset;
ifnonnull 2
1: aload 0
getstatic org.apache.tomcat.util.buf.ByteChunk.DEFAULT_CHARSET:Ljava/nio/charset/Charset;
putfield org.apache.tomcat.util.buf.ByteChunk.charset:Ljava/nio/charset/Charset;
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.charset:Ljava/nio/charset/Charset;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/buf/ByteChunk;
public byte[] getBytes();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.tomcat.util.buf.ByteChunk.getBuffer:()[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/buf/ByteChunk;
public byte[] getBuffer();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.buff:[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/buf/ByteChunk;
public void setByteInputChannel(org.apache.tomcat.util.buf.ByteChunk$ByteInputChannel);
descriptor: (Lorg/apache/tomcat/util/buf/ByteChunk$ByteInputChannel;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.apache.tomcat.util.buf.ByteChunk.in:Lorg/apache/tomcat/util/buf/ByteChunk$ByteInputChannel;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/buf/ByteChunk;
0 2 1 in Lorg/apache/tomcat/util/buf/ByteChunk$ByteInputChannel;
MethodParameters:
Name Flags
in
public void setByteOutputChannel(org.apache.tomcat.util.buf.ByteChunk$ByteOutputChannel);
descriptor: (Lorg/apache/tomcat/util/buf/ByteChunk$ByteOutputChannel;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.apache.tomcat.util.buf.ByteChunk.out:Lorg/apache/tomcat/util/buf/ByteChunk$ByteOutputChannel;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/buf/ByteChunk;
0 2 1 out Lorg/apache/tomcat/util/buf/ByteChunk$ByteOutputChannel;
MethodParameters:
Name Flags
out
public void append(byte);
descriptor: (B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
iconst_1
invokevirtual org.apache.tomcat.util.buf.ByteChunk.makeSpace:(I)V
1: aload 0
invokevirtual org.apache.tomcat.util.buf.ByteChunk.getLimitInternal:()I
istore 2
start local 2 2: aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.end:I
iload 2
if_icmplt 4
3: aload 0
invokevirtual org.apache.tomcat.util.buf.ByteChunk.flushBuffer:()V
4: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.buff:[B
aload 0
dup
getfield org.apache.tomcat.util.buf.ByteChunk.end:I
dup_x1
iconst_1
iadd
putfield org.apache.tomcat.util.buf.ByteChunk.end:I
iload 1
bastore
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/tomcat/util/buf/ByteChunk;
0 6 1 b B
2 6 2 limit I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
public void append(org.apache.tomcat.util.buf.ByteChunk);
descriptor: (Lorg/apache/tomcat/util/buf/ByteChunk;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.tomcat.util.buf.ByteChunk.getBytes:()[B
aload 1
invokevirtual org.apache.tomcat.util.buf.ByteChunk.getStart:()I
aload 1
invokevirtual org.apache.tomcat.util.buf.ByteChunk.getLength:()I
invokevirtual org.apache.tomcat.util.buf.ByteChunk.append:([BII)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/buf/ByteChunk;
0 2 1 src Lorg/apache/tomcat/util/buf/ByteChunk;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
src
public void append(byte[], int, int);
descriptor: ([BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 3
invokevirtual org.apache.tomcat.util.buf.ByteChunk.makeSpace:(I)V
1: aload 0
invokevirtual org.apache.tomcat.util.buf.ByteChunk.getLimitInternal:()I
istore 4
start local 4 2: iload 3
iload 4
if_icmpne 5
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.end:I
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.start:I
if_icmpne 5
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.out:Lorg/apache/tomcat/util/buf/ByteChunk$ByteOutputChannel;
ifnull 5
3: aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.out:Lorg/apache/tomcat/util/buf/ByteChunk$ByteOutputChannel;
aload 1
iload 2
iload 3
invokeinterface org.apache.tomcat.util.buf.ByteChunk$ByteOutputChannel.realWriteBytes:([BII)V
4: return
5: StackMap locals: int
StackMap stack:
iload 3
iload 4
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.end:I
isub
if_icmpgt 9
6: aload 1
iload 2
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.buff:[B
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.end:I
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
7: aload 0
dup
getfield org.apache.tomcat.util.buf.ByteChunk.end:I
iload 3
iadd
putfield org.apache.tomcat.util.buf.ByteChunk.end:I
8: return
9: StackMap locals:
StackMap stack:
iload 4
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.end:I
isub
istore 5
start local 5 10: aload 1
iload 2
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.buff:[B
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.end:I
iload 5
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
11: aload 0
dup
getfield org.apache.tomcat.util.buf.ByteChunk.end:I
iload 5
iadd
putfield org.apache.tomcat.util.buf.ByteChunk.end:I
12: aload 0
invokevirtual org.apache.tomcat.util.buf.ByteChunk.flushBuffer:()V
13: iload 3
iload 5
isub
istore 6
start local 6 14: goto 17
15: StackMap locals: int int
StackMap stack:
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.out:Lorg/apache/tomcat/util/buf/ByteChunk$ByteOutputChannel;
aload 1
iload 2
iload 3
iadd
iload 6
isub
iload 4
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.end:I
isub
invokeinterface org.apache.tomcat.util.buf.ByteChunk$ByteOutputChannel.realWriteBytes:([BII)V
16: iload 6
iload 4
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.end:I
isub
isub
istore 6
17: StackMap locals:
StackMap stack:
iload 6
iload 4
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.end:I
isub
if_icmpgt 15
18: aload 1
iload 2
iload 3
iadd
iload 6
isub
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.buff:[B
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.end:I
iload 6
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
19: aload 0
dup
getfield org.apache.tomcat.util.buf.ByteChunk.end:I
iload 6
iadd
putfield org.apache.tomcat.util.buf.ByteChunk.end:I
20: return
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 21 0 this Lorg/apache/tomcat/util/buf/ByteChunk;
0 21 1 src [B
0 21 2 off I
0 21 3 len I
2 21 4 limit I
10 21 5 avail I
14 21 6 remain I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
src
off
len
public void append(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, 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 0
iload 2
invokevirtual org.apache.tomcat.util.buf.ByteChunk.makeSpace:(I)V
2: aload 0
invokevirtual org.apache.tomcat.util.buf.ByteChunk.getLimitInternal:()I
istore 3
start local 3 3: iload 2
iload 3
if_icmpne 7
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.end:I
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.start:I
if_icmpne 7
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.out:Lorg/apache/tomcat/util/buf/ByteChunk$ByteOutputChannel;
ifnull 7
4: aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.out:Lorg/apache/tomcat/util/buf/ByteChunk$ByteOutputChannel;
aload 1
invokeinterface org.apache.tomcat.util.buf.ByteChunk$ByteOutputChannel.realWriteBytes:(Ljava/nio/ByteBuffer;)V
5: aload 1
aload 1
invokevirtual java.nio.ByteBuffer.limit:()I
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
6: return
7: StackMap locals: int int
StackMap stack:
iload 2
iload 3
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.end:I
isub
if_icmpgt 11
8: aload 1
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.buff:[B
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.end:I
iload 2
invokevirtual java.nio.ByteBuffer.get:([BII)Ljava/nio/ByteBuffer;
pop
9: aload 0
dup
getfield org.apache.tomcat.util.buf.ByteChunk.end:I
iload 2
iadd
putfield org.apache.tomcat.util.buf.ByteChunk.end:I
10: return
11: StackMap locals:
StackMap stack:
iload 3
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.end:I
isub
istore 4
start local 4 12: aload 1
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.buff:[B
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.end:I
iload 4
invokevirtual java.nio.ByteBuffer.get:([BII)Ljava/nio/ByteBuffer;
pop
13: aload 0
dup
getfield org.apache.tomcat.util.buf.ByteChunk.end:I
iload 4
iadd
putfield org.apache.tomcat.util.buf.ByteChunk.end:I
14: aload 0
invokevirtual org.apache.tomcat.util.buf.ByteChunk.flushBuffer:()V
15: aload 1
invokevirtual java.nio.ByteBuffer.limit:()I
istore 5
start local 5 16: iload 2
iload 4
isub
istore 6
start local 6 17: iload 3
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.end:I
isub
istore 4
18: goto 23
19: StackMap locals: int int int
StackMap stack:
aload 1
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
iload 4
iadd
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
pop
20: aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.out:Lorg/apache/tomcat/util/buf/ByteChunk$ByteOutputChannel;
aload 1
invokeinterface org.apache.tomcat.util.buf.ByteChunk$ByteOutputChannel.realWriteBytes:(Ljava/nio/ByteBuffer;)V
21: aload 1
aload 1
invokevirtual java.nio.ByteBuffer.limit:()I
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
22: iload 6
iload 4
isub
istore 6
23: StackMap locals:
StackMap stack:
iload 6
iload 4
if_icmpge 19
24: aload 1
iload 5
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
pop
25: aload 1
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.buff:[B
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.end:I
iload 6
invokevirtual java.nio.ByteBuffer.get:([BII)Ljava/nio/ByteBuffer;
pop
26: aload 0
dup
getfield org.apache.tomcat.util.buf.ByteChunk.end:I
iload 6
iadd
putfield org.apache.tomcat.util.buf.ByteChunk.end:I
27: return
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 28 0 this Lorg/apache/tomcat/util/buf/ByteChunk;
0 28 1 from Ljava/nio/ByteBuffer;
1 28 2 len I
3 28 3 limit I
12 28 4 avail I
16 28 5 fromLimit I
17 28 6 remain I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
from
public int substract();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.tomcat.util.buf.ByteChunk.subtract:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/buf/ByteChunk;
Exceptions:
throws java.io.IOException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public int subtract();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.tomcat.util.buf.ByteChunk.checkEof:()Z
ifeq 2
1: iconst_m1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.buff:[B
aload 0
dup
getfield org.apache.tomcat.util.buf.ByteChunk.start:I
dup_x1
iconst_1
iadd
putfield org.apache.tomcat.util.buf.ByteChunk.start:I
baload
sipush 255
iand
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/buf/ByteChunk;
Exceptions:
throws java.io.IOException
public byte substractB();
descriptor: ()B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.tomcat.util.buf.ByteChunk.subtractB:()B
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/buf/ByteChunk;
Exceptions:
throws java.io.IOException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public byte subtractB();
descriptor: ()B
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.tomcat.util.buf.ByteChunk.checkEof:()Z
ifeq 2
1: iconst_m1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.buff:[B
aload 0
dup
getfield org.apache.tomcat.util.buf.ByteChunk.start:I
dup_x1
iconst_1
iadd
putfield org.apache.tomcat.util.buf.ByteChunk.start:I
baload
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/buf/ByteChunk;
Exceptions:
throws java.io.IOException
public int substract(byte[], int, int);
descriptor: ([BII)I
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
aload 1
iload 2
iload 3
invokevirtual org.apache.tomcat.util.buf.ByteChunk.subtract:([BII)I
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/buf/ByteChunk;
0 1 1 dest [B
0 1 2 off I
0 1 3 len I
Exceptions:
throws java.io.IOException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
dest
off
len
public int subtract(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
invokevirtual org.apache.tomcat.util.buf.ByteChunk.checkEof:()Z
ifeq 2
1: iconst_m1
ireturn
2: StackMap locals:
StackMap stack:
iload 3
istore 4
start local 4 3: iload 3
aload 0
invokevirtual org.apache.tomcat.util.buf.ByteChunk.getLength:()I
if_icmple 5
4: aload 0
invokevirtual org.apache.tomcat.util.buf.ByteChunk.getLength:()I
istore 4
5: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.buff:[B
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.start:I
aload 1
iload 2
iload 4
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
6: aload 0
dup
getfield org.apache.tomcat.util.buf.ByteChunk.start:I
iload 4
iadd
putfield org.apache.tomcat.util.buf.ByteChunk.start:I
7: iload 4
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/tomcat/util/buf/ByteChunk;
0 8 1 dest [B
0 8 2 off I
0 8 3 len I
3 8 4 n I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
dest
off
len
public int substract(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.tomcat.util.buf.ByteChunk.subtract:(Ljava/nio/ByteBuffer;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/buf/ByteChunk;
0 1 1 to Ljava/nio/ByteBuffer;
Exceptions:
throws java.io.IOException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
to
public int subtract(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.tomcat.util.buf.ByteChunk.checkEof:()Z
ifeq 2
1: iconst_m1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
aload 0
invokevirtual org.apache.tomcat.util.buf.ByteChunk.getLength:()I
invokestatic java.lang.Math.min:(II)I
istore 2
start local 2 3: aload 1
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.buff:[B
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.start:I
iload 2
invokevirtual java.nio.ByteBuffer.put:([BII)Ljava/nio/ByteBuffer;
pop
4: aload 1
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
pop
5: aload 1
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
iload 2
isub
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
6: aload 0
dup
getfield org.apache.tomcat.util.buf.ByteChunk.start:I
iload 2
iadd
putfield org.apache.tomcat.util.buf.ByteChunk.start:I
7: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/tomcat/util/buf/ByteChunk;
0 8 1 to Ljava/nio/ByteBuffer;
3 8 2 n I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
to
private boolean checkEof();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.end:I
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.start:I
isub
ifne 6
1: aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.in:Lorg/apache/tomcat/util/buf/ByteChunk$ByteInputChannel;
ifnonnull 3
2: iconst_1
ireturn
3: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.in:Lorg/apache/tomcat/util/buf/ByteChunk$ByteInputChannel;
invokeinterface org.apache.tomcat.util.buf.ByteChunk$ByteInputChannel.realReadBytes:()I
istore 1
start local 1 4: iload 1
ifge 6
5: iconst_1
ireturn
end local 1 6: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/tomcat/util/buf/ByteChunk;
4 6 1 n I
Exceptions:
throws java.io.IOException
public void flushBuffer();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.out:Lorg/apache/tomcat/util/buf/ByteChunk$ByteOutputChannel;
ifnonnull 4
1: new java.io.IOException
dup
getstatic org.apache.tomcat.util.buf.ByteChunk.sm:Lorg/apache/tomcat/util/res/StringManager;
2: ldc "chunk.overflow"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual org.apache.tomcat.util.buf.ByteChunk.getLimit:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.buff:[B
arraylength
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
3: invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.out:Lorg/apache/tomcat/util/buf/ByteChunk$ByteOutputChannel;
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.buff:[B
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.start:I
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.end:I
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.start:I
isub
invokeinterface org.apache.tomcat.util.buf.ByteChunk$ByteOutputChannel.realWriteBytes:([BII)V
5: aload 0
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.start:I
putfield org.apache.tomcat.util.buf.ByteChunk.end:I
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/tomcat/util/buf/ByteChunk;
Exceptions:
throws java.io.IOException
public void makeSpace(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=8, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 0
invokevirtual org.apache.tomcat.util.buf.ByteChunk.getLimitInternal:()I
istore 3
start local 3 2: aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.end:I
iload 1
iadd
i2l
lstore 6
start local 6 3: lload 6
iload 3
i2l
lcmp
ifle 5
4: iload 3
i2l
lstore 6
5: StackMap locals: org.apache.tomcat.util.buf.ByteChunk int byte[] int top top long
StackMap stack:
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.buff:[B
ifnonnull 9
6: lload 6
ldc 256
lcmp
ifge 8
7: ldc 256
lstore 6
8: StackMap locals:
StackMap stack:
aload 0
lload 6
l2i
newarray 8
putfield org.apache.tomcat.util.buf.ByteChunk.buff:[B
9: StackMap locals:
StackMap stack:
lload 6
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.buff:[B
arraylength
i2l
lcmp
ifgt 11
10: return
11: StackMap locals:
StackMap stack:
lload 6
ldc 2
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.buff:[B
arraylength
i2l
lmul
lcmp
ifge 14
12: aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.buff:[B
arraylength
i2l
ldc 2
lmul
lstore 4
start local 4 13: goto 15
end local 4 14: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.buff:[B
arraylength
i2l
ldc 2
lmul
iload 1
i2l
ladd
lstore 4
start local 4 15: StackMap locals: org.apache.tomcat.util.buf.ByteChunk int byte[] int long long
StackMap stack:
lload 4
iload 3
i2l
lcmp
ifle 17
16: iload 3
i2l
lstore 4
17: StackMap locals:
StackMap stack:
lload 4
l2i
newarray 8
astore 2
18: aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.buff:[B
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.start:I
aload 2
iconst_0
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.end:I
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.start:I
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
19: aload 0
aload 2
putfield org.apache.tomcat.util.buf.ByteChunk.buff:[B
20: aconst_null
astore 2
21: aload 0
dup
getfield org.apache.tomcat.util.buf.ByteChunk.end:I
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.start:I
isub
putfield org.apache.tomcat.util.buf.ByteChunk.end:I
22: aload 0
iconst_0
putfield org.apache.tomcat.util.buf.ByteChunk.start:I
23: return
end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lorg/apache/tomcat/util/buf/ByteChunk;
0 24 1 count I
1 24 2 tmp [B
2 24 3 limit I
13 14 4 newSize J
15 24 4 newSize J
3 24 6 desiredSize J
MethodParameters:
Name Flags
count
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.tomcat.util.buf.ByteChunk.isNull:()Z
ifeq 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.end:I
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.start:I
isub
ifne 4
3: ldc ""
areturn
4: StackMap locals:
StackMap stack:
aload 0
invokestatic org.apache.tomcat.util.buf.StringCache.toString:(Lorg/apache/tomcat/util/buf/ByteChunk;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/tomcat/util/buf/ByteChunk;
public java.lang.String toStringInternal();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.charset:Ljava/nio/charset/Charset;
ifnonnull 2
1: aload 0
getstatic org.apache.tomcat.util.buf.ByteChunk.DEFAULT_CHARSET:Ljava/nio/charset/Charset;
putfield org.apache.tomcat.util.buf.ByteChunk.charset:Ljava/nio/charset/Charset;
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.charset:Ljava/nio/charset/Charset;
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.buff:[B
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.start:I
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.end:I
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.start:I
isub
invokestatic java.nio.ByteBuffer.wrap:([BII)Ljava/nio/ByteBuffer;
invokevirtual java.nio.charset.Charset.decode:(Ljava/nio/ByteBuffer;)Ljava/nio/CharBuffer;
astore 1
start local 1 3: new java.lang.String
dup
aload 1
invokevirtual java.nio.CharBuffer.array:()[C
aload 1
invokevirtual java.nio.CharBuffer.arrayOffset:()I
aload 1
invokevirtual java.nio.CharBuffer.length:()I
invokespecial java.lang.String.<init>:([CII)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/tomcat/util/buf/ByteChunk;
3 4 1 cb Ljava/nio/CharBuffer;
public long getLong();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.buff:[B
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.start:I
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.end:I
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.start:I
isub
invokestatic org.apache.tomcat.util.buf.Ascii.parseLong:([BII)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/buf/ByteChunk;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.apache.tomcat.util.buf.ByteChunk
ifeq 2
1: aload 0
aload 1
checkcast org.apache.tomcat.util.buf.ByteChunk
invokevirtual org.apache.tomcat.util.buf.ByteChunk.equals:(Lorg/apache/tomcat/util/buf/ByteChunk;)Z
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/buf/ByteChunk;
0 3 1 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
public boolean equals(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.buff:[B
astore 2
start local 2 1: aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.end:I
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.start:I
isub
istore 3
start local 3 2: aload 2
ifnull 3
iload 3
aload 1
invokevirtual java.lang.String.length:()I
if_icmpeq 4
3: StackMap locals: byte[] int
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.start:I
istore 4
start local 4 5: iconst_0
istore 5
start local 5 6: goto 10
7: StackMap locals: int int
StackMap stack:
aload 2
iload 4
iinc 4 1
baload
aload 1
iload 5
invokevirtual java.lang.String.charAt:(I)C
if_icmpeq 9
8: iconst_0
ireturn
9: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
10: iload 5
iload 3
if_icmplt 7
end local 5 11: iconst_1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/tomcat/util/buf/ByteChunk;
0 12 1 s Ljava/lang/String;
1 12 2 b [B
2 12 3 len I
5 12 4 off I
6 11 5 i I
MethodParameters:
Name Flags
s
public boolean equalsIgnoreCase(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.buff:[B
astore 2
start local 2 1: aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.end:I
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.start:I
isub
istore 3
start local 3 2: aload 2
ifnull 3
iload 3
aload 1
invokevirtual java.lang.String.length:()I
if_icmpeq 4
3: StackMap locals: byte[] int
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.start:I
istore 4
start local 4 5: iconst_0
istore 5
start local 5 6: goto 10
7: StackMap locals: int int
StackMap stack:
aload 2
iload 4
iinc 4 1
baload
invokestatic org.apache.tomcat.util.buf.Ascii.toLower:(I)I
aload 1
iload 5
invokevirtual java.lang.String.charAt:(I)C
invokestatic org.apache.tomcat.util.buf.Ascii.toLower:(I)I
if_icmpeq 9
8: iconst_0
ireturn
9: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
10: iload 5
iload 3
if_icmplt 7
end local 5 11: iconst_1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/tomcat/util/buf/ByteChunk;
0 12 1 s Ljava/lang/String;
1 12 2 b [B
2 12 3 len I
5 12 4 off I
6 11 5 i I
MethodParameters:
Name Flags
s
public boolean equals(org.apache.tomcat.util.buf.ByteChunk);
descriptor: (Lorg/apache/tomcat/util/buf/ByteChunk;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.tomcat.util.buf.ByteChunk.getBytes:()[B
aload 1
invokevirtual org.apache.tomcat.util.buf.ByteChunk.getStart:()I
aload 1
invokevirtual org.apache.tomcat.util.buf.ByteChunk.getLength:()I
invokevirtual org.apache.tomcat.util.buf.ByteChunk.equals:([BII)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/buf/ByteChunk;
0 1 1 bb Lorg/apache/tomcat/util/buf/ByteChunk;
MethodParameters:
Name Flags
bb
public boolean equals(byte[], int, int);
descriptor: ([BII)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.buff:[B
astore 4
start local 4 1: aload 4
ifnonnull 3
aload 1
ifnonnull 3
2: iconst_1
ireturn
3: StackMap locals: byte[]
StackMap stack:
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.end:I
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.start:I
isub
istore 5
start local 5 4: iload 5
iload 3
if_icmpne 5
aload 4
ifnull 5
aload 1
ifnonnull 6
5: StackMap locals: int
StackMap stack:
iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.start:I
istore 6
start local 6 7: goto 10
8: StackMap locals: int
StackMap stack:
aload 4
iload 6
iinc 6 1
baload
aload 1
iload 2
iinc 2 1
baload
if_icmpeq 10
9: iconst_0
ireturn
10: StackMap locals:
StackMap stack:
iload 5
iinc 5 -1
ifgt 8
11: iconst_1
ireturn
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 12 0 this Lorg/apache/tomcat/util/buf/ByteChunk;
0 12 1 b2 [B
0 12 2 off2 I
0 12 3 len2 I
1 12 4 b1 [B
4 12 5 len I
7 12 6 off1 I
MethodParameters:
Name Flags
b2
off2
len2
public boolean equals(org.apache.tomcat.util.buf.CharChunk);
descriptor: (Lorg/apache/tomcat/util/buf/CharChunk;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.tomcat.util.buf.CharChunk.getChars:()[C
aload 1
invokevirtual org.apache.tomcat.util.buf.CharChunk.getStart:()I
aload 1
invokevirtual org.apache.tomcat.util.buf.CharChunk.getLength:()I
invokevirtual org.apache.tomcat.util.buf.ByteChunk.equals:([CII)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/buf/ByteChunk;
0 1 1 cc Lorg/apache/tomcat/util/buf/CharChunk;
MethodParameters:
Name Flags
cc
public boolean equals(char[], int, int);
descriptor: ([CII)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.buff:[B
astore 4
start local 4 1: aload 1
ifnonnull 3
aload 4
ifnonnull 3
2: iconst_1
ireturn
3: StackMap locals: byte[]
StackMap stack:
aload 4
ifnull 4
aload 1
ifnull 4
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.end:I
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.start:I
isub
iload 3
if_icmpeq 5
4: StackMap locals:
StackMap stack:
iconst_0
ireturn
5: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.start:I
istore 5
start local 5 6: aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.end:I
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.start:I
isub
istore 6
start local 6 7: goto 10
8: StackMap locals: int int
StackMap stack:
aload 4
iload 5
iinc 5 1
baload
i2c
aload 1
iload 2
iinc 2 1
caload
if_icmpeq 10
9: iconst_0
ireturn
10: StackMap locals:
StackMap stack:
iload 6
iinc 6 -1
ifgt 8
11: iconst_1
ireturn
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 12 0 this Lorg/apache/tomcat/util/buf/ByteChunk;
0 12 1 c2 [C
0 12 2 off2 I
0 12 3 len2 I
1 12 4 b1 [B
6 12 5 off1 I
7 12 6 len I
MethodParameters:
Name Flags
c2
off2
len2
public boolean startsWith(java.lang.String, int);
descriptor: (Ljava/lang/String;I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.buff:[B
astore 3
start local 3 1: aload 1
invokevirtual java.lang.String.length:()I
istore 4
start local 4 2: aload 3
ifnull 3
iload 4
iload 2
iadd
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.end:I
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.start:I
isub
if_icmple 4
3: StackMap locals: byte[] int
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.start:I
iload 2
iadd
istore 5
start local 5 5: iconst_0
istore 6
start local 6 6: goto 10
7: StackMap locals: int int
StackMap stack:
aload 3
iload 5
iinc 5 1
baload
aload 1
iload 6
invokevirtual java.lang.String.charAt:(I)C
if_icmpeq 9
8: iconst_0
ireturn
9: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
10: iload 6
iload 4
if_icmplt 7
end local 6 11: iconst_1
ireturn
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 12 0 this Lorg/apache/tomcat/util/buf/ByteChunk;
0 12 1 s Ljava/lang/String;
0 12 2 pos I
1 12 3 b [B
2 12 4 len I
5 12 5 off I
6 11 6 i I
MethodParameters:
Name Flags
s
pos
public boolean startsWithIgnoreCase(java.lang.String, int);
descriptor: (Ljava/lang/String;I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.buff:[B
astore 3
start local 3 1: aload 1
invokevirtual java.lang.String.length:()I
istore 4
start local 4 2: aload 3
ifnull 3
iload 4
iload 2
iadd
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.end:I
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.start:I
isub
if_icmple 4
3: StackMap locals: byte[] int
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.start:I
iload 2
iadd
istore 5
start local 5 5: iconst_0
istore 6
start local 6 6: goto 10
7: StackMap locals: int int
StackMap stack:
aload 3
iload 5
iinc 5 1
baload
invokestatic org.apache.tomcat.util.buf.Ascii.toLower:(I)I
aload 1
iload 6
invokevirtual java.lang.String.charAt:(I)C
invokestatic org.apache.tomcat.util.buf.Ascii.toLower:(I)I
if_icmpeq 9
8: iconst_0
ireturn
9: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
10: iload 6
iload 4
if_icmplt 7
end local 6 11: iconst_1
ireturn
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 12 0 this Lorg/apache/tomcat/util/buf/ByteChunk;
0 12 1 s Ljava/lang/String;
0 12 2 pos I
1 12 3 b [B
2 12 4 len I
5 12 5 off I
6 11 6 i I
MethodParameters:
Name Flags
s
pos
protected int getBufferElement(int);
descriptor: (I)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.buff:[B
iload 1
baload
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/buf/ByteChunk;
0 1 1 index I
MethodParameters:
Name Flags
index
public int indexOf(char, int);
descriptor: (CI)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.buff:[B
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.start:I
iload 2
iadd
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.end:I
iload 1
invokestatic org.apache.tomcat.util.buf.ByteChunk.indexOf:([BIIC)I
istore 3
start local 3 1: iload 3
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.start:I
if_icmplt 2
iload 3
aload 0
getfield org.apache.tomcat.util.buf.ByteChunk.start:I
isub
goto 3
StackMap locals: int
StackMap stack:
2: iconst_m1
StackMap locals:
StackMap stack: int
3: ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/tomcat/util/buf/ByteChunk;
0 4 1 c C
0 4 2 starting I
1 4 3 ret I
MethodParameters:
Name Flags
c
starting
public static int indexOf(byte[], int, int, char);
descriptor: ([BIIC)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 1
istore 4
start local 4 1: goto 6
2: StackMap locals: int
StackMap stack:
aload 0
iload 4
baload
istore 5
start local 5 3: iload 5
iload 3
if_icmpne 5
4: iload 4
ireturn
5: StackMap locals: int
StackMap stack:
iinc 4 1
end local 5 6: StackMap locals:
StackMap stack:
iload 4
iload 2
if_icmplt 2
7: iconst_m1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 bytes [B
0 8 1 start I
0 8 2 end I
0 8 3 s C
1 8 4 offset I
3 6 5 b B
MethodParameters:
Name Flags
bytes
start
end
s
public static int findByte(byte[], int, int, byte);
descriptor: ([BIIB)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 1
istore 4
start local 4 1: goto 5
2: StackMap locals: int
StackMap stack:
aload 0
iload 4
baload
iload 3
if_icmpne 4
3: iload 4
ireturn
4: StackMap locals:
StackMap stack:
iinc 4 1
5: StackMap locals:
StackMap stack:
iload 4
iload 2
if_icmplt 2
6: iconst_m1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 bytes [B
0 7 1 start I
0 7 2 end I
0 7 3 b B
1 7 4 offset I
MethodParameters:
Name Flags
bytes
start
end
b
public static int findBytes(byte[], int, int, byte[]);
descriptor: ([BII[B)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
arraylength
istore 4
start local 4 1: iload 1
istore 5
start local 5 2: goto 10
3: StackMap locals: int int
StackMap stack:
iconst_0
istore 6
start local 6 4: goto 8
5: StackMap locals: int
StackMap stack:
aload 0
iload 5
baload
aload 3
iload 6
baload
if_icmpne 7
6: iload 5
ireturn
7: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
8: iload 6
iload 4
if_icmplt 5
end local 6 9: iinc 5 1
10: StackMap locals:
StackMap stack:
iload 5
iload 2
if_icmplt 3
11: iconst_m1
ireturn
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 12 0 bytes [B
0 12 1 start I
0 12 2 end I
0 12 3 b [B
1 12 4 blen I
2 12 5 offset I
4 9 6 i I
MethodParameters:
Name Flags
bytes
start
end
b
public static final byte[] convertToBytes(java.lang.String);
descriptor: (Ljava/lang/String;)[B
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.String.length:()I
newarray 8
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: byte[] int
StackMap stack:
aload 1
iload 2
aload 0
iload 2
invokevirtual java.lang.String.charAt:(I)C
i2b
bastore
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
invokevirtual java.lang.String.length:()I
if_icmplt 3
end local 2 6: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 value Ljava/lang/String;
1 7 1 result [B
2 6 2 i I
MethodParameters:
Name Flags
value
}
SourceFile: "ByteChunk.java"
NestMembers:
org.apache.tomcat.util.buf.ByteChunk$ByteInputChannel org.apache.tomcat.util.buf.ByteChunk$ByteOutputChannel
InnerClasses:
public abstract ByteInputChannel = org.apache.tomcat.util.buf.ByteChunk$ByteInputChannel of org.apache.tomcat.util.buf.ByteChunk
public abstract ByteOutputChannel = org.apache.tomcat.util.buf.ByteChunk$ByteOutputChannel of org.apache.tomcat.util.buf.ByteChunk