public abstract class org.apache.tomcat.util.codec.binary.BaseNCodec
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.tomcat.util.codec.binary.BaseNCodec
super_class: java.lang.Object
{
protected static final org.apache.tomcat.util.res.StringManager sm;
descriptor: Lorg/apache/tomcat/util/res/StringManager;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
static final int EOF;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -1
public static final int MIME_CHUNK_SIZE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 76
public static final int PEM_CHUNK_SIZE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 64
private static final int DEFAULT_BUFFER_RESIZE_FACTOR;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static final int DEFAULT_BUFFER_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 128
private static final int MAX_BUFFER_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2147483639
protected static final int MASK_8BITS;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 255
protected static final byte PAD_DEFAULT;
descriptor: B
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 61
static final byte[] CHUNK_SEPARATOR;
descriptor: [B
flags: (0x0018) ACC_STATIC, ACC_FINAL
protected final byte pad;
descriptor: B
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private final int unencodedBlockSize;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int encodedBlockSize;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
protected final int lineLength;
descriptor: I
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private final int chunkSeparatorLength;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: ldc Lorg/apache/tomcat/util/codec/binary/BaseNCodec;
invokestatic org.apache.tomcat.util.res.StringManager.getManager:(Ljava/lang/Class;)Lorg/apache/tomcat/util/res/StringManager;
putstatic org.apache.tomcat.util.codec.binary.BaseNCodec.sm:Lorg/apache/tomcat/util/res/StringManager;
1: iconst_2
newarray 8
dup
iconst_0
bipush 13
bastore
dup
iconst_1
bipush 10
bastore
putstatic org.apache.tomcat.util.codec.binary.BaseNCodec.CHUNK_SEPARATOR:[B
return
LocalVariableTable:
Start End Slot Name Signature
private static int compareUnsigned(int, int);
descriptor: (II)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 0
ldc -2147483648
iadd
iload 1
ldc -2147483648
iadd
invokestatic java.lang.Integer.compare:(II)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 x I
0 1 1 y I
MethodParameters:
Name Flags
x final
y final
private static int createPositiveCapacity(int);
descriptor: (I)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=1, args_size=1
start local 0 0: iload 0
ifge 2
1: new java.lang.OutOfMemoryError
dup
new java.lang.StringBuilder
dup
ldc "Unable to allocate array size: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 0
i2l
ldc 4294967295
land
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.OutOfMemoryError.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iload 0
ldc 2147483639
if_icmple 4
3: iload 0
goto 5
4: StackMap locals:
StackMap stack:
ldc 2147483639
5: StackMap locals:
StackMap stack: int
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 minCapacity I
MethodParameters:
Name Flags
minCapacity final
public static byte[] getChunkSeparator();
descriptor: ()[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.apache.tomcat.util.codec.binary.BaseNCodec.CHUNK_SEPARATOR:[B
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
areturn
LocalVariableTable:
Start End Slot Name Signature
protected static boolean isWhiteSpace(byte);
descriptor: (B)Z
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
lookupswitch { // 4
9: 1
10: 1
13: 1
32: 1
default: 2
}
1: StackMap locals:
StackMap stack:
iconst_1
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 byteToCheck B
MethodParameters:
Name Flags
byteToCheck final
private static byte[] resizeBuffer(org.apache.tomcat.util.codec.binary.BaseNCodec$Context, int);
descriptor: (Lorg/apache/tomcat/util/codec/binary/BaseNCodec$Context;I)[B
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.tomcat.util.codec.binary.BaseNCodec$Context.buffer:[B
arraylength
istore 2
start local 2 1: iload 2
iconst_2
imul
istore 3
start local 3 2: iload 3
iload 1
invokestatic org.apache.tomcat.util.codec.binary.BaseNCodec.compareUnsigned:(II)I
ifge 4
3: iload 1
istore 3
4: StackMap locals: int int
StackMap stack:
iload 3
ldc 2147483639
invokestatic org.apache.tomcat.util.codec.binary.BaseNCodec.compareUnsigned:(II)I
ifle 6
5: iload 1
invokestatic org.apache.tomcat.util.codec.binary.BaseNCodec.createPositiveCapacity:(I)I
istore 3
6: StackMap locals:
StackMap stack:
iload 3
newarray 8
astore 4
start local 4 7: aload 0
getfield org.apache.tomcat.util.codec.binary.BaseNCodec$Context.buffer:[B
iconst_0
aload 4
iconst_0
aload 0
getfield org.apache.tomcat.util.codec.binary.BaseNCodec$Context.buffer:[B
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
8: aload 0
aload 4
putfield org.apache.tomcat.util.codec.binary.BaseNCodec$Context.buffer:[B
9: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 context Lorg/apache/tomcat/util/codec/binary/BaseNCodec$Context;
0 10 1 minCapacity I
1 10 2 oldCapacity I
2 10 3 newCapacity I
7 10 4 b [B
MethodParameters:
Name Flags
context final
minCapacity final
protected void <init>(int, int, int, int);
descriptor: (IIII)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iload 1
iload 2
iload 3
iload 4
bipush 61
invokespecial org.apache.tomcat.util.codec.binary.BaseNCodec.<init>:(IIIIB)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/codec/binary/BaseNCodec;
0 2 1 unencodedBlockSize I
0 2 2 encodedBlockSize I
0 2 3 lineLength I
0 2 4 chunkSeparatorLength I
MethodParameters:
Name Flags
unencodedBlockSize final
encodedBlockSize final
lineLength final
chunkSeparatorLength final
protected void <init>(int, int, int, int, byte);
descriptor: (IIIIB)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=7, 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.lang.Object.<init>:()V
1: aload 0
iload 1
putfield org.apache.tomcat.util.codec.binary.BaseNCodec.unencodedBlockSize:I
2: aload 0
iload 2
putfield org.apache.tomcat.util.codec.binary.BaseNCodec.encodedBlockSize:I
3: iload 3
ifle 4
iload 4
ifle 4
iconst_1
goto 5
StackMap locals: org.apache.tomcat.util.codec.binary.BaseNCodec int int int int int
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: istore 6
start local 6 6: aload 0
iload 6
ifeq 7
iload 3
iload 2
idiv
iload 2
imul
goto 8
StackMap locals: org.apache.tomcat.util.codec.binary.BaseNCodec int int int int int int
StackMap stack: org.apache.tomcat.util.codec.binary.BaseNCodec
7: iconst_0
StackMap locals: org.apache.tomcat.util.codec.binary.BaseNCodec int int int int int int
StackMap stack: org.apache.tomcat.util.codec.binary.BaseNCodec int
8: putfield org.apache.tomcat.util.codec.binary.BaseNCodec.lineLength:I
9: aload 0
iload 4
putfield org.apache.tomcat.util.codec.binary.BaseNCodec.chunkSeparatorLength:I
10: aload 0
iload 5
putfield org.apache.tomcat.util.codec.binary.BaseNCodec.pad:B
11: 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 12 0 this Lorg/apache/tomcat/util/codec/binary/BaseNCodec;
0 12 1 unencodedBlockSize I
0 12 2 encodedBlockSize I
0 12 3 lineLength I
0 12 4 chunkSeparatorLength I
0 12 5 pad B
6 12 6 useChunking Z
MethodParameters:
Name Flags
unencodedBlockSize final
encodedBlockSize final
lineLength final
chunkSeparatorLength final
pad final
int available(org.apache.tomcat.util.codec.binary.BaseNCodec$Context);
descriptor: (Lorg/apache/tomcat/util/codec/binary/BaseNCodec$Context;)I
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield org.apache.tomcat.util.codec.binary.BaseNCodec$Context.buffer:[B
ifnull 1
aload 1
getfield org.apache.tomcat.util.codec.binary.BaseNCodec$Context.pos:I
aload 1
getfield org.apache.tomcat.util.codec.binary.BaseNCodec$Context.readPos:I
isub
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/codec/binary/BaseNCodec;
0 3 1 context Lorg/apache/tomcat/util/codec/binary/BaseNCodec$Context;
MethodParameters:
Name Flags
context final
protected boolean containsAlphabetOrPad(byte[]);
descriptor: ([B)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 7
StackMap locals: org.apache.tomcat.util.codec.binary.BaseNCodec byte[] top int int byte[]
StackMap stack:
3: aload 5
iload 3
baload
istore 2
start local 2 4: aload 0
getfield org.apache.tomcat.util.codec.binary.BaseNCodec.pad:B
iload 2
if_icmpeq 5
aload 0
iload 2
invokevirtual org.apache.tomcat.util.codec.binary.BaseNCodec.isInAlphabet:(B)Z
ifeq 6
5: StackMap locals: org.apache.tomcat.util.codec.binary.BaseNCodec byte[] int int int byte[]
StackMap stack:
iconst_1
ireturn
end local 2 6: StackMap locals: org.apache.tomcat.util.codec.binary.BaseNCodec byte[] top int int byte[]
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
iload 4
if_icmplt 3
8: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/tomcat/util/codec/binary/BaseNCodec;
0 9 1 arrayOctet [B
4 6 2 element B
MethodParameters:
Name Flags
arrayOctet final
public byte[] decode(byte[]);
descriptor: ([B)[B
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.apache.tomcat.util.codec.binary.BaseNCodec.decode:([BII)[B
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/codec/binary/BaseNCodec;
0 1 1 pArray [B
MethodParameters:
Name Flags
pArray final
public byte[] decode(byte[], int, int);
descriptor: ([BII)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnull 1
iload 3
ifne 2
1: StackMap locals:
StackMap stack:
iconst_0
newarray 8
areturn
2: StackMap locals:
StackMap stack:
new org.apache.tomcat.util.codec.binary.BaseNCodec$Context
dup
invokespecial org.apache.tomcat.util.codec.binary.BaseNCodec$Context.<init>:()V
astore 4
start local 4 3: aload 0
aload 1
iload 2
iload 3
aload 4
invokevirtual org.apache.tomcat.util.codec.binary.BaseNCodec.decode:([BIILorg/apache/tomcat/util/codec/binary/BaseNCodec$Context;)V
4: aload 0
aload 1
iload 2
iconst_m1
aload 4
invokevirtual org.apache.tomcat.util.codec.binary.BaseNCodec.decode:([BIILorg/apache/tomcat/util/codec/binary/BaseNCodec$Context;)V
5: aload 4
getfield org.apache.tomcat.util.codec.binary.BaseNCodec$Context.pos:I
newarray 8
astore 5
start local 5 6: aload 0
aload 5
iconst_0
aload 5
arraylength
aload 4
invokevirtual org.apache.tomcat.util.codec.binary.BaseNCodec.readResults:([BIILorg/apache/tomcat/util/codec/binary/BaseNCodec$Context;)I
pop
7: aload 5
areturn
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 8 0 this Lorg/apache/tomcat/util/codec/binary/BaseNCodec;
0 8 1 pArray [B
0 8 2 off I
0 8 3 len I
3 8 4 context Lorg/apache/tomcat/util/codec/binary/BaseNCodec$Context;
6 8 5 result [B
MethodParameters:
Name Flags
pArray final
off final
len final
abstract void decode(byte[], int, int, org.apache.tomcat.util.codec.binary.BaseNCodec$Context);
descriptor: ([BIILorg/apache/tomcat/util/codec/binary/BaseNCodec$Context;)V
flags: (0x0400) ACC_ABSTRACT
MethodParameters:
Name Flags
pArray
i
length
context
public byte[] decode(java.lang.String);
descriptor: (Ljava/lang/String;)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.apache.tomcat.util.codec.binary.StringUtils.getBytesUtf8:(Ljava/lang/String;)[B
invokevirtual org.apache.tomcat.util.codec.binary.BaseNCodec.decode:([B)[B
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/codec/binary/BaseNCodec;
0 1 1 pArray Ljava/lang/String;
MethodParameters:
Name Flags
pArray final
public byte[] encode(byte[]);
descriptor: ([B)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
arraylength
ifne 2
1: StackMap locals:
StackMap stack:
aload 1
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
iconst_0
aload 1
arraylength
invokevirtual org.apache.tomcat.util.codec.binary.BaseNCodec.encode:([BII)[B
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/codec/binary/BaseNCodec;
0 3 1 pArray [B
MethodParameters:
Name Flags
pArray final
public byte[] encode(byte[], int, int);
descriptor: ([BII)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnull 1
aload 1
arraylength
ifne 2
1: StackMap locals:
StackMap stack:
aload 1
areturn
2: StackMap locals:
StackMap stack:
new org.apache.tomcat.util.codec.binary.BaseNCodec$Context
dup
invokespecial org.apache.tomcat.util.codec.binary.BaseNCodec$Context.<init>:()V
astore 4
start local 4 3: aload 0
aload 1
iload 2
iload 3
aload 4
invokevirtual org.apache.tomcat.util.codec.binary.BaseNCodec.encode:([BIILorg/apache/tomcat/util/codec/binary/BaseNCodec$Context;)V
4: aload 0
aload 1
iload 2
iconst_m1
aload 4
invokevirtual org.apache.tomcat.util.codec.binary.BaseNCodec.encode:([BIILorg/apache/tomcat/util/codec/binary/BaseNCodec$Context;)V
5: aload 4
getfield org.apache.tomcat.util.codec.binary.BaseNCodec$Context.pos:I
aload 4
getfield org.apache.tomcat.util.codec.binary.BaseNCodec$Context.readPos:I
isub
newarray 8
astore 5
start local 5 6: aload 0
aload 5
iconst_0
aload 5
arraylength
aload 4
invokevirtual org.apache.tomcat.util.codec.binary.BaseNCodec.readResults:([BIILorg/apache/tomcat/util/codec/binary/BaseNCodec$Context;)I
pop
7: aload 5
areturn
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 8 0 this Lorg/apache/tomcat/util/codec/binary/BaseNCodec;
0 8 1 pArray [B
0 8 2 offset I
0 8 3 length I
3 8 4 context Lorg/apache/tomcat/util/codec/binary/BaseNCodec$Context;
6 8 5 buf [B
MethodParameters:
Name Flags
pArray final
offset final
length final
abstract void encode(byte[], int, int, org.apache.tomcat.util.codec.binary.BaseNCodec$Context);
descriptor: ([BIILorg/apache/tomcat/util/codec/binary/BaseNCodec$Context;)V
flags: (0x0400) ACC_ABSTRACT
MethodParameters:
Name Flags
pArray
i
length
context
public java.lang.String encodeAsString(byte[]);
descriptor: ([B)Ljava/lang/String;
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.codec.binary.BaseNCodec.encode:([B)[B
invokestatic org.apache.tomcat.util.codec.binary.StringUtils.newStringUtf8:([B)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/codec/binary/BaseNCodec;
0 1 1 pArray [B
MethodParameters:
Name Flags
pArray final
public java.lang.String encodeToString(byte[]);
descriptor: ([B)Ljava/lang/String;
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.codec.binary.BaseNCodec.encode:([B)[B
invokestatic org.apache.tomcat.util.codec.binary.StringUtils.newStringUtf8:([B)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/codec/binary/BaseNCodec;
0 1 1 pArray [B
MethodParameters:
Name Flags
pArray final
protected byte[] ensureBufferSize(int, org.apache.tomcat.util.codec.binary.BaseNCodec$Context);
descriptor: (ILorg/apache/tomcat/util/codec/binary/BaseNCodec$Context;)[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
getfield org.apache.tomcat.util.codec.binary.BaseNCodec$Context.buffer:[B
ifnonnull 5
1: aload 2
iload 1
aload 0
invokevirtual org.apache.tomcat.util.codec.binary.BaseNCodec.getDefaultBufferSize:()I
invokestatic java.lang.Math.max:(II)I
newarray 8
putfield org.apache.tomcat.util.codec.binary.BaseNCodec$Context.buffer:[B
2: aload 2
iconst_0
putfield org.apache.tomcat.util.codec.binary.BaseNCodec$Context.pos:I
3: aload 2
iconst_0
putfield org.apache.tomcat.util.codec.binary.BaseNCodec$Context.readPos:I
4: goto 7
StackMap locals:
StackMap stack:
5: aload 2
getfield org.apache.tomcat.util.codec.binary.BaseNCodec$Context.pos:I
iload 1
iadd
aload 2
getfield org.apache.tomcat.util.codec.binary.BaseNCodec$Context.buffer:[B
arraylength
isub
ifle 7
6: aload 2
aload 2
getfield org.apache.tomcat.util.codec.binary.BaseNCodec$Context.pos:I
iload 1
iadd
invokestatic org.apache.tomcat.util.codec.binary.BaseNCodec.resizeBuffer:(Lorg/apache/tomcat/util/codec/binary/BaseNCodec$Context;I)[B
areturn
7: StackMap locals:
StackMap stack:
aload 2
getfield org.apache.tomcat.util.codec.binary.BaseNCodec$Context.buffer:[B
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/tomcat/util/codec/binary/BaseNCodec;
0 8 1 size I
0 8 2 context Lorg/apache/tomcat/util/codec/binary/BaseNCodec$Context;
MethodParameters:
Name Flags
size final
context final
protected int getDefaultBufferSize();
descriptor: ()I
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: sipush 128
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/codec/binary/BaseNCodec;
public long getEncodedLength(byte[]);
descriptor: ([B)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 1
arraylength
aload 0
getfield org.apache.tomcat.util.codec.binary.BaseNCodec.unencodedBlockSize:I
iadd
iconst_1
isub
aload 0
getfield org.apache.tomcat.util.codec.binary.BaseNCodec.unencodedBlockSize:I
idiv
i2l
aload 0
getfield org.apache.tomcat.util.codec.binary.BaseNCodec.encodedBlockSize:I
i2l
lmul
lstore 2
start local 2 1: aload 0
getfield org.apache.tomcat.util.codec.binary.BaseNCodec.lineLength:I
ifle 3
2: lload 2
lload 2
aload 0
getfield org.apache.tomcat.util.codec.binary.BaseNCodec.lineLength:I
i2l
ladd
lconst_1
lsub
aload 0
getfield org.apache.tomcat.util.codec.binary.BaseNCodec.lineLength:I
i2l
ldiv
aload 0
getfield org.apache.tomcat.util.codec.binary.BaseNCodec.chunkSeparatorLength:I
i2l
lmul
ladd
lstore 2
3: StackMap locals: long
StackMap stack:
lload 2
lreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/tomcat/util/codec/binary/BaseNCodec;
0 4 1 pArray [B
1 4 2 len J
MethodParameters:
Name Flags
pArray final
boolean hasData(org.apache.tomcat.util.codec.binary.BaseNCodec$Context);
descriptor: (Lorg/apache/tomcat/util/codec/binary/BaseNCodec$Context;)Z
flags: (0x0000)
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield org.apache.tomcat.util.codec.binary.BaseNCodec$Context.buffer:[B
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/codec/binary/BaseNCodec;
0 2 1 context Lorg/apache/tomcat/util/codec/binary/BaseNCodec$Context;
MethodParameters:
Name Flags
context final
protected abstract boolean isInAlphabet(byte);
descriptor: (B)Z
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
value
public boolean isInAlphabet(byte[], boolean);
descriptor: ([BZ)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 6
StackMap locals: org.apache.tomcat.util.codec.binary.BaseNCodec byte[] int top int int byte[]
StackMap stack:
1: aload 6
iload 4
baload
istore 3
start local 3 2: aload 0
iload 3
invokevirtual org.apache.tomcat.util.codec.binary.BaseNCodec.isInAlphabet:(B)Z
ifne 5
3: iload 2
ifeq 4
iload 3
aload 0
getfield org.apache.tomcat.util.codec.binary.BaseNCodec.pad:B
if_icmpeq 5
iload 3
invokestatic org.apache.tomcat.util.codec.binary.BaseNCodec.isWhiteSpace:(B)Z
ifne 5
4: StackMap locals: org.apache.tomcat.util.codec.binary.BaseNCodec byte[] int int int int byte[]
StackMap stack:
iconst_0
ireturn
end local 3 5: StackMap locals: org.apache.tomcat.util.codec.binary.BaseNCodec byte[] int top int int byte[]
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
6: iload 4
iload 5
if_icmplt 1
7: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/tomcat/util/codec/binary/BaseNCodec;
0 8 1 arrayOctet [B
0 8 2 allowWSPad Z
2 5 3 octet B
MethodParameters:
Name Flags
arrayOctet final
allowWSPad final
public boolean isInAlphabet(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.apache.tomcat.util.codec.binary.StringUtils.getBytesUtf8:(Ljava/lang/String;)[B
iconst_1
invokevirtual org.apache.tomcat.util.codec.binary.BaseNCodec.isInAlphabet:([BZ)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/codec/binary/BaseNCodec;
0 1 1 basen Ljava/lang/String;
MethodParameters:
Name Flags
basen final
int readResults(byte[], int, int, org.apache.tomcat.util.codec.binary.BaseNCodec$Context);
descriptor: ([BIILorg/apache/tomcat/util/codec/binary/BaseNCodec$Context;)I
flags: (0x0000)
Code:
stack=5, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 4
getfield org.apache.tomcat.util.codec.binary.BaseNCodec$Context.buffer:[B
ifnull 7
1: aload 0
aload 4
invokevirtual org.apache.tomcat.util.codec.binary.BaseNCodec.available:(Lorg/apache/tomcat/util/codec/binary/BaseNCodec$Context;)I
iload 3
invokestatic java.lang.Math.min:(II)I
istore 5
start local 5 2: aload 4
getfield org.apache.tomcat.util.codec.binary.BaseNCodec$Context.buffer:[B
aload 4
getfield org.apache.tomcat.util.codec.binary.BaseNCodec$Context.readPos:I
aload 1
iload 2
iload 5
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
3: aload 4
dup
getfield org.apache.tomcat.util.codec.binary.BaseNCodec$Context.readPos:I
iload 5
iadd
putfield org.apache.tomcat.util.codec.binary.BaseNCodec$Context.readPos:I
4: aload 4
getfield org.apache.tomcat.util.codec.binary.BaseNCodec$Context.readPos:I
aload 4
getfield org.apache.tomcat.util.codec.binary.BaseNCodec$Context.pos:I
if_icmplt 6
5: aload 4
aconst_null
putfield org.apache.tomcat.util.codec.binary.BaseNCodec$Context.buffer:[B
6: StackMap locals: int
StackMap stack:
iload 5
ireturn
end local 5 7: StackMap locals:
StackMap stack:
aload 4
getfield org.apache.tomcat.util.codec.binary.BaseNCodec$Context.eof:Z
ifeq 8
iconst_m1
goto 9
StackMap locals:
StackMap stack:
8: iconst_0
StackMap locals:
StackMap stack: int
9: ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/tomcat/util/codec/binary/BaseNCodec;
0 10 1 b [B
0 10 2 bPos I
0 10 3 bAvail I
0 10 4 context Lorg/apache/tomcat/util/codec/binary/BaseNCodec$Context;
2 7 5 len I
MethodParameters:
Name Flags
b final
bPos final
bAvail final
context final
}
SourceFile: "BaseNCodec.java"
NestMembers:
org.apache.tomcat.util.codec.binary.BaseNCodec$Context
InnerClasses:
Context = org.apache.tomcat.util.codec.binary.BaseNCodec$Context of org.apache.tomcat.util.codec.binary.BaseNCodec