public class org.eclipse.jetty.util.BufferUtil
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jetty.util.BufferUtil
super_class: java.lang.Object
{
static final int TEMP_BUFFER_SIZE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 4096
static final byte SPACE;
descriptor: B
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 32
static final byte MINUS;
descriptor: B
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 45
static final byte[] DIGIT;
descriptor: [B
flags: (0x0018) ACC_STATIC, ACC_FINAL
public static final java.nio.ByteBuffer EMPTY_BUFFER;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private static final int[] decDivisors;
descriptor: [I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int[] hexDivisors;
descriptor: [I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final long[] decDivisorsL;
descriptor: [J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=0, args_size=0
0: bipush 16
newarray 8
dup
iconst_0
1: bipush 48
bastore
dup
iconst_1
bipush 49
bastore
dup
iconst_2
bipush 50
bastore
dup
iconst_3
bipush 51
bastore
dup
iconst_4
bipush 52
bastore
dup
iconst_5
bipush 53
bastore
dup
bipush 6
bipush 54
bastore
dup
bipush 7
bipush 55
bastore
dup
bipush 8
bipush 56
bastore
dup
bipush 9
bipush 57
bastore
dup
bipush 10
2: bipush 65
bastore
dup
bipush 11
bipush 66
bastore
dup
bipush 12
bipush 67
bastore
dup
bipush 13
bipush 68
bastore
dup
bipush 14
3: bipush 69
bastore
dup
bipush 15
bipush 70
bastore
4: putstatic org.eclipse.jetty.util.BufferUtil.DIGIT:[B
5: iconst_0
newarray 8
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
putstatic org.eclipse.jetty.util.BufferUtil.EMPTY_BUFFER:Ljava/nio/ByteBuffer;
6: bipush 10
newarray 10
dup
iconst_0
7: ldc 1000000000
iastore
dup
iconst_1
ldc 100000000
iastore
dup
iconst_2
ldc 10000000
iastore
dup
iconst_3
ldc 1000000
iastore
dup
iconst_4
ldc 100000
iastore
dup
iconst_5
sipush 10000
iastore
dup
bipush 6
sipush 1000
iastore
dup
bipush 7
bipush 100
iastore
dup
bipush 8
bipush 10
iastore
dup
bipush 9
iconst_1
iastore
8: putstatic org.eclipse.jetty.util.BufferUtil.decDivisors:[I
9: bipush 8
newarray 10
dup
iconst_0
10: ldc 268435456
iastore
dup
iconst_1
ldc 16777216
iastore
dup
iconst_2
ldc 1048576
iastore
dup
iconst_3
ldc 65536
iastore
dup
iconst_4
sipush 4096
iastore
dup
iconst_5
sipush 256
iastore
dup
bipush 6
bipush 16
iastore
dup
bipush 7
iconst_1
iastore
11: putstatic org.eclipse.jetty.util.BufferUtil.hexDivisors:[I
12: bipush 19
newarray 11
dup
iconst_0
13: ldc 1000000000000000000
lastore
dup
iconst_1
ldc 100000000000000000
lastore
dup
iconst_2
ldc 10000000000000000
lastore
dup
iconst_3
ldc 1000000000000000
lastore
dup
iconst_4
ldc 100000000000000
lastore
dup
iconst_5
ldc 10000000000000
lastore
dup
bipush 6
14: ldc 1000000000000
lastore
dup
bipush 7
ldc 100000000000
lastore
dup
bipush 8
15: ldc 10000000000
lastore
dup
bipush 9
ldc 1000000000
lastore
dup
bipush 10
ldc 100000000
lastore
dup
bipush 11
ldc 10000000
lastore
dup
bipush 12
ldc 1000000
lastore
dup
bipush 13
ldc 100000
lastore
dup
bipush 14
ldc 10000
lastore
dup
bipush 15
ldc 1000
lastore
dup
bipush 16
ldc 100
lastore
dup
bipush 17
ldc 10
lastore
dup
bipush 18
lconst_1
lastore
16: putstatic org.eclipse.jetty.util.BufferUtil.decDivisorsL:[J
17: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/BufferUtil;
public static java.nio.ByteBuffer allocate(int);
descriptor: (I)Ljava/nio/ByteBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: iload 0
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
astore 1
start local 1 1: aload 1
iconst_0
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
pop
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 capacity I
1 3 1 buf Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
capacity
public static java.nio.ByteBuffer allocateDirect(int);
descriptor: (I)Ljava/nio/ByteBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: iload 0
invokestatic java.nio.ByteBuffer.allocateDirect:(I)Ljava/nio/ByteBuffer;
astore 1
start local 1 1: aload 1
iconst_0
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
pop
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 capacity I
1 3 1 buf Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
capacity
public static java.nio.ByteBuffer copy(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.nio.ByteBuffer.position:()I
istore 1
start local 1 3: aload 0
invokevirtual java.nio.ByteBuffer.isDirect:()Z
ifeq 4
aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
invokestatic java.nio.ByteBuffer.allocateDirect:(I)Ljava/nio/ByteBuffer;
goto 5
StackMap locals: int
StackMap stack:
4: aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
StackMap locals:
StackMap stack: java.nio.ByteBuffer
5: astore 2
start local 2 6: aload 2
aload 0
invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
pop
7: aload 2
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/Buffer;
pop
8: aload 0
iload 1
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
9: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 buffer Ljava/nio/ByteBuffer;
3 10 1 p I
6 10 2 clone Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
buffer
public static void clear(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ifnull 3
1: aload 0
iconst_0
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
2: aload 0
iconst_0
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
pop
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 buffer Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
buffer
public static void clearToFill(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ifnull 3
1: aload 0
iconst_0
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
2: aload 0
aload 0
invokevirtual java.nio.ByteBuffer.capacity:()I
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
pop
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 buffer Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
buffer
public static int flipToFill(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual java.nio.ByteBuffer.position:()I
istore 1
start local 1 1: aload 0
invokevirtual java.nio.ByteBuffer.limit:()I
istore 2
start local 2 2: iload 1
iload 2
if_icmpne 6
3: aload 0
iconst_0
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
4: aload 0
aload 0
invokevirtual java.nio.ByteBuffer.capacity:()I
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
pop
5: iconst_0
ireturn
6: StackMap locals: int int
StackMap stack:
aload 0
invokevirtual java.nio.ByteBuffer.capacity:()I
istore 3
start local 3 7: iload 2
iload 3
if_icmpne 10
8: aload 0
invokevirtual java.nio.ByteBuffer.compact:()Ljava/nio/ByteBuffer;
pop
9: iconst_0
ireturn
10: StackMap locals: int
StackMap stack:
aload 0
iload 2
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
11: aload 0
iload 3
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
pop
12: iload 1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 buffer Ljava/nio/ByteBuffer;
1 13 1 position I
2 13 2 limit I
7 13 3 capacity I
MethodParameters:
Name Flags
buffer
public static void flipToFlush(java.nio.ByteBuffer, int);
descriptor: (Ljava/nio/ByteBuffer;I)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
invokevirtual java.nio.ByteBuffer.position:()I
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
pop
1: aload 0
iload 1
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 buffer Ljava/nio/ByteBuffer;
0 3 1 position I
MethodParameters:
Name Flags
buffer
position
public static byte[] toArray(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual java.nio.ByteBuffer.hasArray:()Z
ifeq 4
1: aload 0
invokevirtual java.nio.ByteBuffer.array:()[B
astore 1
start local 1 2: aload 0
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
aload 0
invokevirtual java.nio.ByteBuffer.position:()I
iadd
istore 2
start local 2 3: aload 1
iload 2
iload 2
aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
iadd
invokestatic java.util.Arrays.copyOfRange:([BII)[B
areturn
end local 2 end local 1 4: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
newarray 8
astore 1
start local 1 5: aload 0
invokevirtual java.nio.ByteBuffer.slice:()Ljava/nio/ByteBuffer;
aload 1
invokevirtual java.nio.ByteBuffer.get:([B)Ljava/nio/ByteBuffer;
pop
6: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 buffer Ljava/nio/ByteBuffer;
2 4 1 array [B
3 4 2 from I
5 7 1 to [B
MethodParameters:
Name Flags
buffer
public static boolean isTheEmptyBuffer(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getstatic org.eclipse.jetty.util.BufferUtil.EMPTY_BUFFER:Ljava/nio/ByteBuffer;
if_acmpne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 1
start local 1 3: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 buf Ljava/nio/ByteBuffer;
3 4 1 isTheEmptyBuffer Z
MethodParameters:
Name Flags
buf
public static boolean isEmpty(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
ifeq 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 buf Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
buf
public static boolean isEmpty(java.nio.ByteBuffer[]);
descriptor: ([Ljava/nio/ByteBuffer;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
arraylength
ifne 2
1: StackMap locals:
StackMap stack:
iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 7
StackMap locals: java.nio.ByteBuffer[] top int int java.nio.ByteBuffer[]
StackMap stack:
3: aload 4
iload 2
aaload
astore 1
start local 1 4: aload 1
ifnull 6
aload 1
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifeq 6
5: iconst_0
ireturn
end local 1 6: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
iload 3
if_icmplt 3
8: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 buf [Ljava/nio/ByteBuffer;
4 6 1 b Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
buf
public static long remaining(java.nio.ByteBuffer[]);
descriptor: ([Ljava/nio/ByteBuffer;)J
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=7, args_size=1
start local 0 0: lconst_0
lstore 1
start local 1 1: aload 0
ifnull 8
2: aload 0
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 7
StackMap locals: java.nio.ByteBuffer[] long top int int java.nio.ByteBuffer[]
StackMap stack:
3: aload 6
iload 4
aaload
astore 3
start local 3 4: aload 3
ifnull 6
5: lload 1
aload 3
invokevirtual java.nio.ByteBuffer.remaining:()I
i2l
ladd
lstore 1
end local 3 6: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
7: iload 4
iload 5
if_icmplt 3
8: StackMap locals: java.nio.ByteBuffer[] long
StackMap stack:
lload 1
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 buf [Ljava/nio/ByteBuffer;
1 9 1 remaining J
4 6 3 b Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
buf
public static boolean hasContent(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
ifle 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 buf Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
buf
public static boolean isFull(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
invokevirtual java.nio.ByteBuffer.limit:()I
aload 0
invokevirtual java.nio.ByteBuffer.capacity:()I
if_icmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 buf Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
buf
public static int length(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 buffer Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
buffer
public static int space(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.nio.ByteBuffer.capacity:()I
aload 0
invokevirtual java.nio.ByteBuffer.limit:()I
isub
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 buffer Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
buffer
public static boolean compact(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.nio.ByteBuffer.position:()I
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.nio.ByteBuffer.limit:()I
aload 0
invokevirtual java.nio.ByteBuffer.capacity:()I
if_icmpne 3
iconst_1
goto 4
StackMap locals:
StackMap stack:
3: iconst_0
StackMap locals:
StackMap stack: int
4: istore 1
start local 1 5: aload 0
invokevirtual java.nio.ByteBuffer.compact:()Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/Buffer;
pop
6: iload 1
ifeq 7
aload 0
invokevirtual java.nio.ByteBuffer.limit:()I
aload 0
invokevirtual java.nio.ByteBuffer.capacity:()I
if_icmpge 7
iconst_1
ireturn
StackMap locals: int
StackMap stack:
7: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 buffer Ljava/nio/ByteBuffer;
5 8 1 full Z
MethodParameters:
Name Flags
buffer
public static int put(java.nio.ByteBuffer, java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
istore 3
start local 3 1: iload 3
ifle 18
2: iload 3
aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
if_icmpgt 7
3: aload 1
aload 0
invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
pop
4: iload 3
istore 2
start local 2 5: aload 0
aload 0
invokevirtual java.nio.ByteBuffer.limit:()I
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
6: goto 19
end local 2 7: StackMap locals: java.nio.ByteBuffer java.nio.ByteBuffer top int
StackMap stack:
aload 0
invokevirtual java.nio.ByteBuffer.hasArray:()Z
ifeq 12
8: aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
istore 2
start local 2 9: aload 1
aload 0
invokevirtual java.nio.ByteBuffer.array:()[B
aload 0
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
aload 0
invokevirtual java.nio.ByteBuffer.position:()I
iadd
iload 2
invokevirtual java.nio.ByteBuffer.put:([BII)Ljava/nio/ByteBuffer;
pop
10: aload 0
aload 0
invokevirtual java.nio.ByteBuffer.position:()I
iload 2
iadd
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
11: goto 19
end local 2 12: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
istore 2
start local 2 13: aload 0
invokevirtual java.nio.ByteBuffer.slice:()Ljava/nio/ByteBuffer;
astore 4
start local 4 14: aload 4
iload 2
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
pop
15: aload 1
aload 4
invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
pop
16: aload 0
aload 0
invokevirtual java.nio.ByteBuffer.position:()I
iload 2
iadd
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
end local 4 17: goto 19
end local 2 18: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 19: StackMap locals: java.nio.ByteBuffer java.nio.ByteBuffer int int
StackMap stack:
iload 2
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 from Ljava/nio/ByteBuffer;
0 20 1 to Ljava/nio/ByteBuffer;
5 7 2 put I
9 12 2 put I
13 18 2 put I
19 20 2 put I
1 20 3 remaining I
14 17 4 slice Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
from
to
public static void append(java.nio.ByteBuffer, byte[], int, int);
descriptor: (Ljava/nio/ByteBuffer;[BII)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokestatic org.eclipse.jetty.util.BufferUtil.flipToFill:(Ljava/nio/ByteBuffer;)I
istore 4
start local 4 1: aload 0
aload 1
iload 2
iload 3
invokevirtual java.nio.ByteBuffer.put:([BII)Ljava/nio/ByteBuffer;
pop
2: goto 6
3: StackMap locals: java.nio.ByteBuffer byte[] int int int
StackMap stack: java.lang.Throwable
astore 5
4: aload 0
iload 4
invokestatic org.eclipse.jetty.util.BufferUtil.flipToFlush:(Ljava/nio/ByteBuffer;I)V
5: aload 5
athrow
6: StackMap locals:
StackMap stack:
aload 0
iload 4
invokestatic org.eclipse.jetty.util.BufferUtil.flipToFlush:(Ljava/nio/ByteBuffer;I)V
7: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 to Ljava/nio/ByteBuffer;
0 8 1 b [B
0 8 2 off I
0 8 3 len I
1 8 4 pos I
Exception table:
from to target type
1 3 3 any
Exceptions:
throws java.nio.BufferOverflowException
MethodParameters:
Name Flags
to
b
off
len
public static void append(java.nio.ByteBuffer, byte[]);
descriptor: (Ljava/nio/ByteBuffer;[B)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
aload 1
arraylength
invokestatic org.eclipse.jetty.util.BufferUtil.append:(Ljava/nio/ByteBuffer;[BII)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 to Ljava/nio/ByteBuffer;
0 2 1 b [B
Exceptions:
throws java.nio.BufferOverflowException
MethodParameters:
Name Flags
to
b
public static void append(java.nio.ByteBuffer, java.lang.String);
descriptor: (Ljava/nio/ByteBuffer;Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
invokevirtual java.lang.String.getBytes:(Ljava/nio/charset/Charset;)[B
astore 2
start local 2 1: aload 0
aload 2
iconst_0
aload 2
arraylength
invokestatic org.eclipse.jetty.util.BufferUtil.append:(Ljava/nio/ByteBuffer;[BII)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 to Ljava/nio/ByteBuffer;
0 3 1 s Ljava/lang/String;
1 3 2 b [B
Exceptions:
throws java.nio.BufferOverflowException
MethodParameters:
Name Flags
to
s
public static void append(java.nio.ByteBuffer, byte);
descriptor: (Ljava/nio/ByteBuffer;B)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokestatic org.eclipse.jetty.util.BufferUtil.flipToFill:(Ljava/nio/ByteBuffer;)I
istore 2
start local 2 1: aload 0
iload 1
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
2: goto 6
3: StackMap locals: java.nio.ByteBuffer int int
StackMap stack: java.lang.Throwable
astore 3
4: aload 0
iload 2
invokestatic org.eclipse.jetty.util.BufferUtil.flipToFlush:(Ljava/nio/ByteBuffer;I)V
5: aload 3
athrow
6: StackMap locals:
StackMap stack:
aload 0
iload 2
invokestatic org.eclipse.jetty.util.BufferUtil.flipToFlush:(Ljava/nio/ByteBuffer;I)V
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 to Ljava/nio/ByteBuffer;
0 8 1 b B
1 8 2 pos I
Exception table:
from to target type
1 3 3 any
MethodParameters:
Name Flags
to
b
public static int append(java.nio.ByteBuffer, java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokestatic org.eclipse.jetty.util.BufferUtil.flipToFill:(Ljava/nio/ByteBuffer;)I
istore 2
start local 2 1: aload 1
aload 0
invokestatic org.eclipse.jetty.util.BufferUtil.put:(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)I
istore 4
2: aload 0
iload 2
invokestatic org.eclipse.jetty.util.BufferUtil.flipToFlush:(Ljava/nio/ByteBuffer;I)V
3: iload 4
ireturn
4: StackMap locals: java.nio.ByteBuffer java.nio.ByteBuffer int
StackMap stack: java.lang.Throwable
astore 3
5: aload 0
iload 2
invokestatic org.eclipse.jetty.util.BufferUtil.flipToFlush:(Ljava/nio/ByteBuffer;I)V
6: aload 3
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 to Ljava/nio/ByteBuffer;
0 7 1 b Ljava/nio/ByteBuffer;
1 7 2 pos I
Exception table:
from to target type
1 2 4 any
MethodParameters:
Name Flags
to
b
public static int fill(java.nio.ByteBuffer, byte[], int, int);
descriptor: (Ljava/nio/ByteBuffer;[BII)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokestatic org.eclipse.jetty.util.BufferUtil.flipToFill:(Ljava/nio/ByteBuffer;)I
istore 4
start local 4 1: aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
istore 5
start local 5 2: iload 5
iload 3
if_icmpge 3
iload 5
goto 4
StackMap locals: int int
StackMap stack:
3: iload 3
StackMap locals:
StackMap stack: int
4: istore 6
start local 6 5: aload 0
aload 1
iload 2
iload 6
invokevirtual java.nio.ByteBuffer.put:([BII)Ljava/nio/ByteBuffer;
pop
6: iload 6
istore 8
7: aload 0
iload 4
invokestatic org.eclipse.jetty.util.BufferUtil.flipToFlush:(Ljava/nio/ByteBuffer;I)V
8: iload 8
ireturn
end local 6 end local 5 9: StackMap locals: java.nio.ByteBuffer byte[] int int int
StackMap stack: java.lang.Throwable
astore 7
10: aload 0
iload 4
invokestatic org.eclipse.jetty.util.BufferUtil.flipToFlush:(Ljava/nio/ByteBuffer;I)V
11: aload 7
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 to Ljava/nio/ByteBuffer;
0 12 1 b [B
0 12 2 off I
0 12 3 len I
1 12 4 pos I
2 9 5 remaining I
5 9 6 take I
Exception table:
from to target type
1 7 9 any
MethodParameters:
Name Flags
to
b
off
len
public static void readFrom(java.io.File, java.nio.ByteBuffer);
descriptor: (Ljava/io/File;Ljava/nio/ByteBuffer;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
aconst_null
astore 3
1: new java.io.RandomAccessFile
dup
aload 0
ldc "r"
invokespecial java.io.RandomAccessFile.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 4
start local 4 2: aload 4
invokevirtual java.io.RandomAccessFile.getChannel:()Ljava/nio/channels/FileChannel;
astore 5
start local 5 3: aload 4
invokevirtual java.io.RandomAccessFile.length:()J
lstore 6
start local 6 4: goto 6
5: StackMap locals: java.io.File java.nio.ByteBuffer java.lang.Throwable java.lang.Throwable java.io.RandomAccessFile java.nio.channels.FileChannel long
StackMap stack:
lload 6
aload 5
aload 1
invokevirtual java.nio.channels.FileChannel.read:(Ljava/nio/ByteBuffer;)I
i2l
lsub
lstore 6
6: StackMap locals:
StackMap stack:
lload 6
lconst_0
lcmp
ifle 7
aload 1
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifne 5
end local 6 end local 5 7: StackMap locals:
StackMap stack:
aload 4
ifnull 13
aload 4
invokevirtual java.io.RandomAccessFile.close:()V
goto 13
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 2
aload 4
ifnull 9
aload 4
invokevirtual java.io.RandomAccessFile.close:()V
end local 4 StackMap locals:
StackMap stack:
9: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
10: astore 3
aload 2
ifnonnull 11
aload 3
astore 2
goto 12
StackMap locals:
StackMap stack:
11: aload 2
aload 3
if_acmpeq 12
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
12: aload 2
athrow
13: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 file Ljava/io/File;
0 14 1 buffer Ljava/nio/ByteBuffer;
2 9 4 raf Ljava/io/RandomAccessFile;
3 7 5 channel Ljava/nio/channels/FileChannel;
4 7 6 needed J
Exception table:
from to target type
2 7 8 any
1 10 10 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file
buffer
public static void readFrom(java.io.InputStream, int, java.nio.ByteBuffer);
descriptor: (Ljava/io/InputStream;ILjava/nio/ByteBuffer;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: sipush 8192
invokestatic org.eclipse.jetty.util.BufferUtil.allocate:(I)Ljava/nio/ByteBuffer;
astore 3
start local 3 1: goto 8
2: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 0
aload 3
invokevirtual java.nio.ByteBuffer.array:()[B
iconst_0
sipush 8192
invokevirtual java.io.InputStream.read:([BII)I
istore 4
start local 4 3: iload 4
ifge 5
4: goto 9
5: StackMap locals: int
StackMap stack:
aload 3
iconst_0
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
6: aload 3
iload 4
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
pop
7: aload 2
aload 3
invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
pop
end local 4 8: StackMap locals:
StackMap stack:
iload 1
ifle 9
aload 2
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifne 2
9: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 is Ljava/io/InputStream;
0 10 1 needed I
0 10 2 buffer Ljava/nio/ByteBuffer;
1 10 3 tmp Ljava/nio/ByteBuffer;
3 8 4 l I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
is
needed
buffer
public static void writeTo(java.nio.ByteBuffer, java.io.OutputStream);
descriptor: (Ljava/nio/ByteBuffer;Ljava/io/OutputStream;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.nio.ByteBuffer.hasArray:()Z
ifeq 4
1: aload 1
aload 0
invokevirtual java.nio.ByteBuffer.array:()[B
aload 0
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
aload 0
invokevirtual java.nio.ByteBuffer.position:()I
iadd
aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
invokevirtual java.io.OutputStream.write:([BII)V
2: aload 0
aload 0
invokevirtual java.nio.ByteBuffer.position:()I
aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
iadd
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
3: goto 10
4: StackMap locals:
StackMap stack:
sipush 4096
newarray 8
astore 2
start local 2 5: goto 9
6: StackMap locals: byte[]
StackMap stack:
aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
sipush 4096
invokestatic java.lang.Math.min:(II)I
istore 3
start local 3 7: aload 0
aload 2
iconst_0
iload 3
invokevirtual java.nio.ByteBuffer.get:([BII)Ljava/nio/ByteBuffer;
pop
8: aload 1
aload 2
iconst_0
iload 3
invokevirtual java.io.OutputStream.write:([BII)V
end local 3 9: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifne 6
end local 2 10: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 buffer Ljava/nio/ByteBuffer;
0 11 1 out Ljava/io/OutputStream;
5 10 2 bytes [B
7 9 3 byteCountToWrite I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
buffer
out
public static java.lang.String toString(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic java.nio.charset.StandardCharsets.ISO_8859_1:Ljava/nio/charset/Charset;
invokestatic org.eclipse.jetty.util.BufferUtil.toString:(Ljava/nio/ByteBuffer;Ljava/nio/charset/Charset;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 buffer Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
buffer
public static java.lang.String toString(java.nio.ByteBuffer, java.nio.charset.Charset);
descriptor: (Ljava/nio/ByteBuffer;Ljava/nio/charset/Charset;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.nio.ByteBuffer.hasArray:()Z
ifeq 3
aload 0
invokevirtual java.nio.ByteBuffer.array:()[B
goto 4
StackMap locals:
StackMap stack:
3: aconst_null
StackMap locals:
StackMap stack: byte[]
4: astore 2
start local 2 5: aload 2
ifnonnull 9
6: aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
newarray 8
astore 3
start local 3 7: aload 0
invokevirtual java.nio.ByteBuffer.slice:()Ljava/nio/ByteBuffer;
aload 3
invokevirtual java.nio.ByteBuffer.get:([B)Ljava/nio/ByteBuffer;
pop
8: new java.lang.String
dup
aload 3
iconst_0
aload 3
arraylength
aload 1
invokespecial java.lang.String.<init>:([BIILjava/nio/charset/Charset;)V
areturn
end local 3 9: StackMap locals: byte[]
StackMap stack:
new java.lang.String
dup
aload 2
aload 0
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
aload 0
invokevirtual java.nio.ByteBuffer.position:()I
iadd
aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
aload 1
invokespecial java.lang.String.<init>:([BIILjava/nio/charset/Charset;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 buffer Ljava/nio/ByteBuffer;
0 10 1 charset Ljava/nio/charset/Charset;
5 10 2 array [B
7 9 3 to [B
MethodParameters:
Name Flags
buffer
charset
public static java.lang.String toString(java.nio.ByteBuffer, int, int, java.nio.charset.Charset);
descriptor: (Ljava/nio/ByteBuffer;IILjava/nio/charset/Charset;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.nio.ByteBuffer.hasArray:()Z
ifeq 3
aload 0
invokevirtual java.nio.ByteBuffer.array:()[B
goto 4
StackMap locals:
StackMap stack:
3: aconst_null
StackMap locals:
StackMap stack: byte[]
4: astore 4
start local 4 5: aload 4
ifnonnull 12
6: aload 0
invokevirtual java.nio.ByteBuffer.asReadOnlyBuffer:()Ljava/nio/ByteBuffer;
astore 5
start local 5 7: aload 5
iload 1
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
8: aload 5
iload 1
iload 2
iadd
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
pop
9: iload 2
newarray 8
astore 6
start local 6 10: aload 5
aload 6
invokevirtual java.nio.ByteBuffer.get:([B)Ljava/nio/ByteBuffer;
pop
11: new java.lang.String
dup
aload 6
iconst_0
aload 6
arraylength
aload 3
invokespecial java.lang.String.<init>:([BIILjava/nio/charset/Charset;)V
areturn
end local 6 end local 5 12: StackMap locals: byte[]
StackMap stack:
new java.lang.String
dup
aload 4
aload 0
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
iload 1
iadd
iload 2
aload 3
invokespecial java.lang.String.<init>:([BIILjava/nio/charset/Charset;)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 buffer Ljava/nio/ByteBuffer;
0 13 1 position I
0 13 2 length I
0 13 3 charset Ljava/nio/charset/Charset;
5 13 4 array [B
7 12 5 ro Ljava/nio/ByteBuffer;
10 12 6 to [B
MethodParameters:
Name Flags
buffer
position
length
charset
public static java.lang.String toUTF8String(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
invokestatic org.eclipse.jetty.util.BufferUtil.toString:(Ljava/nio/ByteBuffer;Ljava/nio/charset/Charset;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 buffer Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
buffer
public static int toInt(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual java.nio.ByteBuffer.position:()I
aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
invokestatic org.eclipse.jetty.util.BufferUtil.toInt:(Ljava/nio/ByteBuffer;II)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 buffer Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
buffer
public static int toInt(java.nio.ByteBuffer, int, int);
descriptor: (Ljava/nio/ByteBuffer;II)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=9, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: iconst_0
istore 4
start local 4 2: iconst_0
istore 5
start local 5 3: iload 1
iload 2
iadd
istore 6
start local 6 4: iload 2
ifgt 6
5: new java.lang.NumberFormatException
dup
aload 0
iload 1
iload 2
getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
invokestatic org.eclipse.jetty.util.BufferUtil.toString:(Ljava/nio/ByteBuffer;IILjava/nio/charset/Charset;)Ljava/lang/String;
invokespecial java.lang.NumberFormatException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: java.nio.ByteBuffer int int int int int int
StackMap stack:
iload 1
istore 7
start local 7 7: goto 19
8: StackMap locals: int
StackMap stack:
aload 0
iload 7
invokevirtual java.nio.ByteBuffer.get:(I)B
istore 8
start local 8 9: iload 8
bipush 32
if_icmpgt 12
10: iload 4
ifeq 18
11: goto 20
12: StackMap locals: int
StackMap stack:
iload 8
bipush 48
if_icmplt 16
iload 8
bipush 57
if_icmpgt 16
13: iload 3
bipush 10
imul
iload 8
bipush 48
isub
iadd
istore 3
14: iconst_1
istore 4
15: goto 18
16: StackMap locals:
StackMap stack:
iload 8
bipush 45
if_icmpne 20
iload 4
ifne 20
17: iconst_1
istore 5
end local 8 18: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
19: iload 7
iload 6
if_icmplt 8
end local 7 20: StackMap locals:
StackMap stack:
iload 4
ifeq 24
21: iload 5
ifeq 22
iload 3
ineg
goto 23
StackMap locals:
StackMap stack:
22: iload 3
StackMap locals:
StackMap stack: int
23: ireturn
24: StackMap locals:
StackMap stack:
new java.lang.NumberFormatException
dup
aload 0
invokestatic org.eclipse.jetty.util.BufferUtil.toString:(Ljava/nio/ByteBuffer;)Ljava/lang/String;
invokespecial java.lang.NumberFormatException.<init>:(Ljava/lang/String;)V
athrow
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 25 0 buffer Ljava/nio/ByteBuffer;
0 25 1 position I
0 25 2 length I
1 25 3 val I
2 25 4 started Z
3 25 5 minus Z
4 25 6 limit I
7 20 7 i I
9 18 8 b B
MethodParameters:
Name Flags
buffer
position
length
public static int takeInt(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=6, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: iconst_0
istore 2
start local 2 2: iconst_0
istore 3
start local 3 3: aload 0
invokevirtual java.nio.ByteBuffer.position:()I
istore 4
start local 4 4: goto 16
5: StackMap locals: java.nio.ByteBuffer int int int int
StackMap stack:
aload 0
iload 4
invokevirtual java.nio.ByteBuffer.get:(I)B
istore 5
start local 5 6: iload 5
bipush 32
if_icmpgt 9
7: iload 2
ifeq 15
8: goto 17
9: StackMap locals: int
StackMap stack:
iload 5
bipush 48
if_icmplt 13
iload 5
bipush 57
if_icmpgt 13
10: iload 1
bipush 10
imul
iload 5
bipush 48
isub
iadd
istore 1
11: iconst_1
istore 2
12: goto 15
13: StackMap locals:
StackMap stack:
iload 5
bipush 45
if_icmpne 17
iload 2
ifne 17
14: iconst_1
istore 3
end local 5 15: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
16: iload 4
aload 0
invokevirtual java.nio.ByteBuffer.limit:()I
if_icmplt 5
17: StackMap locals:
StackMap stack:
iload 2
ifeq 22
18: aload 0
iload 4
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
19: iload 3
ifeq 20
iload 1
ineg
goto 21
StackMap locals:
StackMap stack:
20: iload 1
StackMap locals:
StackMap stack: int
21: ireturn
22: StackMap locals:
StackMap stack:
new java.lang.NumberFormatException
dup
aload 0
invokestatic org.eclipse.jetty.util.BufferUtil.toString:(Ljava/nio/ByteBuffer;)Ljava/lang/String;
invokespecial java.lang.NumberFormatException.<init>:(Ljava/lang/String;)V
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 buffer Ljava/nio/ByteBuffer;
1 23 1 val I
2 23 2 started Z
3 23 3 minus Z
4 23 4 i I
6 15 5 b B
MethodParameters:
Name Flags
buffer
public static long toLong(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=7, args_size=1
start local 0 0: lconst_0
lstore 1
start local 1 1: iconst_0
istore 3
start local 3 2: iconst_0
istore 4
start local 4 3: aload 0
invokevirtual java.nio.ByteBuffer.position:()I
istore 5
start local 5 4: goto 16
5: StackMap locals: java.nio.ByteBuffer long int int int
StackMap stack:
aload 0
iload 5
invokevirtual java.nio.ByteBuffer.get:(I)B
istore 6
start local 6 6: iload 6
bipush 32
if_icmpgt 9
7: iload 3
ifeq 15
8: goto 17
9: StackMap locals: int
StackMap stack:
iload 6
bipush 48
if_icmplt 13
iload 6
bipush 57
if_icmpgt 13
10: lload 1
ldc 10
lmul
iload 6
bipush 48
isub
i2l
ladd
lstore 1
11: iconst_1
istore 3
12: goto 15
13: StackMap locals:
StackMap stack:
iload 6
bipush 45
if_icmpne 17
iload 3
ifne 17
14: iconst_1
istore 4
end local 6 15: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
16: iload 5
aload 0
invokevirtual java.nio.ByteBuffer.limit:()I
if_icmplt 5
end local 5 17: StackMap locals:
StackMap stack:
iload 3
ifeq 21
18: iload 4
ifeq 19
lload 1
lneg
goto 20
StackMap locals:
StackMap stack:
19: lload 1
StackMap locals:
StackMap stack: long
20: lreturn
21: StackMap locals:
StackMap stack:
new java.lang.NumberFormatException
dup
aload 0
invokestatic org.eclipse.jetty.util.BufferUtil.toString:(Ljava/nio/ByteBuffer;)Ljava/lang/String;
invokespecial java.lang.NumberFormatException.<init>:(Ljava/lang/String;)V
athrow
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 buffer Ljava/nio/ByteBuffer;
1 22 1 val J
2 22 3 started Z
3 22 4 minus Z
4 17 5 i I
6 15 6 b B
MethodParameters:
Name Flags
buffer
public static void putHexInt(java.nio.ByteBuffer, int);
descriptor: (Ljava/nio/ByteBuffer;I)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=8, args_size=2
start local 0 start local 1 0: iload 1
ifge 13
1: aload 0
bipush 45
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
2: iload 1
ldc -2147483648
if_icmpne 12
3: aload 0
bipush 56
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
4: aload 0
bipush 48
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
5: aload 0
bipush 48
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
6: aload 0
bipush 48
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
7: aload 0
bipush 48
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
8: aload 0
bipush 48
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
9: aload 0
bipush 48
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
10: aload 0
bipush 48
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
11: return
12: StackMap locals:
StackMap stack:
iload 1
ineg
istore 1
13: StackMap locals:
StackMap stack:
iload 1
bipush 16
if_icmpge 16
14: aload 0
getstatic org.eclipse.jetty.util.BufferUtil.DIGIT:[B
iload 1
baload
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
15: goto 29
16: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 17: getstatic org.eclipse.jetty.util.BufferUtil.hexDivisors:[I
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 28
StackMap locals: java.nio.ByteBuffer int int top int int int[]
StackMap stack:
18: aload 6
iload 4
iaload
istore 3
start local 3 19: iload 1
iload 3
if_icmpge 23
20: iload 2
ifeq 27
21: aload 0
bipush 48
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
22: goto 27
23: StackMap locals: java.nio.ByteBuffer int int int int int int[]
StackMap stack:
iconst_1
istore 2
24: iload 1
iload 3
idiv
istore 7
start local 7 25: aload 0
getstatic org.eclipse.jetty.util.BufferUtil.DIGIT:[B
iload 7
baload
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
26: iload 1
iload 7
iload 3
imul
isub
istore 1
end local 7 end local 3 27: StackMap locals: java.nio.ByteBuffer int int top int int int[]
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
28: iload 4
iload 5
if_icmplt 18
end local 2 29: StackMap locals: java.nio.ByteBuffer int
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 buffer Ljava/nio/ByteBuffer;
0 30 1 n I
17 29 2 started Z
19 27 3 hexDivisor I
25 27 7 d I
MethodParameters:
Name Flags
buffer
n
public static void putDecInt(java.nio.ByteBuffer, int);
descriptor: (Ljava/nio/ByteBuffer;I)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=8, args_size=2
start local 0 start local 1 0: iload 1
ifge 7
1: aload 0
bipush 45
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
2: iload 1
ldc -2147483648
if_icmpne 6
3: aload 0
bipush 50
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
4: ldc 147483648
istore 1
5: goto 7
6: StackMap locals:
StackMap stack:
iload 1
ineg
istore 1
7: StackMap locals:
StackMap stack:
iload 1
bipush 10
if_icmpge 10
8: aload 0
getstatic org.eclipse.jetty.util.BufferUtil.DIGIT:[B
iload 1
baload
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
9: goto 23
10: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 11: getstatic org.eclipse.jetty.util.BufferUtil.decDivisors:[I
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 22
StackMap locals: java.nio.ByteBuffer int int top int int int[]
StackMap stack:
12: aload 6
iload 4
iaload
istore 3
start local 3 13: iload 1
iload 3
if_icmpge 17
14: iload 2
ifeq 21
15: aload 0
bipush 48
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
16: goto 21
17: StackMap locals: java.nio.ByteBuffer int int int int int int[]
StackMap stack:
iconst_1
istore 2
18: iload 1
iload 3
idiv
istore 7
start local 7 19: aload 0
getstatic org.eclipse.jetty.util.BufferUtil.DIGIT:[B
iload 7
baload
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
20: iload 1
iload 7
iload 3
imul
isub
istore 1
end local 7 end local 3 21: StackMap locals: java.nio.ByteBuffer int int top int int int[]
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
22: iload 4
iload 5
if_icmplt 12
end local 2 23: StackMap locals: java.nio.ByteBuffer int
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 buffer Ljava/nio/ByteBuffer;
0 24 1 n I
11 23 2 started Z
13 21 3 decDivisor I
19 21 7 d I
MethodParameters:
Name Flags
buffer
n
public static void putDecLong(java.nio.ByteBuffer, long);
descriptor: (Ljava/nio/ByteBuffer;J)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=11, args_size=2
start local 0 start local 1 0: lload 1
lconst_0
lcmp
ifge 7
1: aload 0
bipush 45
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
2: lload 1
ldc -9223372036854775808
lcmp
ifne 6
3: aload 0
bipush 57
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
4: ldc 223372036854775808
lstore 1
5: goto 7
6: StackMap locals:
StackMap stack:
lload 1
lneg
lstore 1
7: StackMap locals:
StackMap stack:
lload 1
ldc 10
lcmp
ifge 10
8: aload 0
getstatic org.eclipse.jetty.util.BufferUtil.DIGIT:[B
lload 1
l2i
baload
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
9: goto 23
10: StackMap locals:
StackMap stack:
iconst_0
istore 3
start local 3 11: getstatic org.eclipse.jetty.util.BufferUtil.decDivisorsL:[J
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 22
StackMap locals: java.nio.ByteBuffer long int top top int int long[]
StackMap stack:
12: aload 8
iload 6
laload
lstore 4
start local 4 13: lload 1
lload 4
lcmp
ifge 17
14: iload 3
ifeq 21
15: aload 0
bipush 48
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
16: goto 21
17: StackMap locals: java.nio.ByteBuffer long int long int int long[]
StackMap stack:
iconst_1
istore 3
18: lload 1
lload 4
ldiv
lstore 9
start local 9 19: aload 0
getstatic org.eclipse.jetty.util.BufferUtil.DIGIT:[B
lload 9
l2i
baload
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
20: lload 1
lload 9
lload 4
lmul
lsub
lstore 1
end local 9 end local 4 21: StackMap locals: java.nio.ByteBuffer long int top top int int long[]
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
22: iload 6
iload 7
if_icmplt 12
end local 3 23: StackMap locals: java.nio.ByteBuffer long
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 buffer Ljava/nio/ByteBuffer;
0 24 1 n J
11 23 3 started Z
13 21 4 aDecDivisorsL J
19 21 9 d J
MethodParameters:
Name Flags
buffer
n
public static java.nio.ByteBuffer toBuffer(int);
descriptor: (I)Ljava/nio/ByteBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: bipush 32
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
astore 1
start local 1 1: aload 1
iload 0
invokestatic org.eclipse.jetty.util.BufferUtil.putDecInt:(Ljava/nio/ByteBuffer;I)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 value I
1 3 1 buf Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
value
public static java.nio.ByteBuffer toBuffer(long);
descriptor: (J)Ljava/nio/ByteBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: bipush 32
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
astore 2
start local 2 1: aload 2
lload 0
invokestatic org.eclipse.jetty.util.BufferUtil.putDecLong:(Ljava/nio/ByteBuffer;J)V
2: aload 2
areturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 value J
1 3 2 buf Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
value
public static java.nio.ByteBuffer toBuffer(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/nio/ByteBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic java.nio.charset.StandardCharsets.ISO_8859_1:Ljava/nio/charset/Charset;
invokestatic org.eclipse.jetty.util.BufferUtil.toBuffer:(Ljava/lang/String;Ljava/nio/charset/Charset;)Ljava/nio/ByteBuffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 s Ljava/lang/String;
MethodParameters:
Name Flags
s
public static java.nio.ByteBuffer toBuffer(java.lang.String, java.nio.charset.Charset);
descriptor: (Ljava/lang/String;Ljava/nio/charset/Charset;)Ljava/nio/ByteBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 2
1: getstatic org.eclipse.jetty.util.BufferUtil.EMPTY_BUFFER:Ljava/nio/ByteBuffer;
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual java.lang.String.getBytes:(Ljava/nio/charset/Charset;)[B
invokestatic org.eclipse.jetty.util.BufferUtil.toBuffer:([B)Ljava/nio/ByteBuffer;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 s Ljava/lang/String;
0 3 1 charset Ljava/nio/charset/Charset;
MethodParameters:
Name Flags
s
charset
public static java.nio.ByteBuffer toBuffer(byte[]);
descriptor: ([B)Ljava/nio/ByteBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: getstatic org.eclipse.jetty.util.BufferUtil.EMPTY_BUFFER:Ljava/nio/ByteBuffer;
areturn
2: StackMap locals:
StackMap stack:
aload 0
iconst_0
aload 0
arraylength
invokestatic org.eclipse.jetty.util.BufferUtil.toBuffer:([BII)Ljava/nio/ByteBuffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 array [B
MethodParameters:
Name Flags
array
public static java.nio.ByteBuffer toBuffer(byte[], int, int);
descriptor: ([BII)Ljava/nio/ByteBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
ifnonnull 2
1: getstatic org.eclipse.jetty.util.BufferUtil.EMPTY_BUFFER:Ljava/nio/ByteBuffer;
areturn
2: StackMap locals:
StackMap stack:
aload 0
iload 1
iload 2
invokestatic java.nio.ByteBuffer.wrap:([BII)Ljava/nio/ByteBuffer;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 array [B
0 3 1 offset I
0 3 2 length I
MethodParameters:
Name Flags
array
offset
length
public static java.nio.ByteBuffer toBuffer(org.eclipse.jetty.util.resource.Resource, boolean);
descriptor: (Lorg/eclipse/jetty/util/resource/Resource;Z)Ljava/nio/ByteBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=8, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.eclipse.jetty.util.resource.Resource.length:()J
l2i
istore 2
start local 2 1: iload 2
ifge 3
2: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "invalid resource: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " len="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: int
StackMap stack:
iload 1
ifeq 4
iload 2
invokestatic org.eclipse.jetty.util.BufferUtil.allocateDirect:(I)Ljava/nio/ByteBuffer;
goto 5
StackMap locals:
StackMap stack:
4: iload 2
invokestatic org.eclipse.jetty.util.BufferUtil.allocate:(I)Ljava/nio/ByteBuffer;
StackMap locals:
StackMap stack: java.nio.ByteBuffer
5: astore 3
start local 3 6: aload 3
invokestatic org.eclipse.jetty.util.BufferUtil.flipToFill:(Ljava/nio/ByteBuffer;)I
istore 4
start local 4 7: aload 0
invokevirtual org.eclipse.jetty.util.resource.Resource.getFile:()Ljava/io/File;
ifnull 9
8: aload 0
invokevirtual org.eclipse.jetty.util.resource.Resource.getFile:()Ljava/io/File;
aload 3
invokestatic org.eclipse.jetty.util.BufferUtil.readFrom:(Ljava/io/File;Ljava/nio/ByteBuffer;)V
goto 18
9: StackMap locals: java.nio.ByteBuffer int
StackMap stack:
aconst_null
astore 5
aconst_null
astore 6
10: aload 0
invokevirtual org.eclipse.jetty.util.resource.Resource.getInputStream:()Ljava/io/InputStream;
astore 7
start local 7 11: aload 7
iload 2
aload 3
invokestatic org.eclipse.jetty.util.BufferUtil.readFrom:(Ljava/io/InputStream;ILjava/nio/ByteBuffer;)V
12: aload 7
ifnull 18
aload 7
invokevirtual java.io.InputStream.close:()V
goto 18
StackMap locals: org.eclipse.jetty.util.resource.Resource int int java.nio.ByteBuffer int java.lang.Throwable java.lang.Throwable java.io.InputStream
StackMap stack: java.lang.Throwable
13: astore 5
aload 7
ifnull 14
aload 7
invokevirtual java.io.InputStream.close:()V
end local 7 StackMap locals:
StackMap stack:
14: aload 5
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
15: astore 6
aload 5
ifnonnull 16
aload 6
astore 5
goto 17
StackMap locals:
StackMap stack:
16: aload 5
aload 6
if_acmpeq 17
aload 5
aload 6
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
17: aload 5
athrow
18: StackMap locals:
StackMap stack:
aload 3
iload 4
invokestatic org.eclipse.jetty.util.BufferUtil.flipToFlush:(Ljava/nio/ByteBuffer;I)V
19: aload 3
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 resource Lorg/eclipse/jetty/util/resource/Resource;
0 20 1 direct Z
1 20 2 len I
6 20 3 buffer Ljava/nio/ByteBuffer;
7 20 4 pos I
11 14 7 is Ljava/io/InputStream;
Exception table:
from to target type
11 12 13 any
10 15 15 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
resource
direct
public static java.nio.ByteBuffer toDirectBuffer(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/nio/ByteBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic java.nio.charset.StandardCharsets.ISO_8859_1:Ljava/nio/charset/Charset;
invokestatic org.eclipse.jetty.util.BufferUtil.toDirectBuffer:(Ljava/lang/String;Ljava/nio/charset/Charset;)Ljava/nio/ByteBuffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 s Ljava/lang/String;
MethodParameters:
Name Flags
s
public static java.nio.ByteBuffer toDirectBuffer(java.lang.String, java.nio.charset.Charset);
descriptor: (Ljava/lang/String;Ljava/nio/charset/Charset;)Ljava/nio/ByteBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 2
1: getstatic org.eclipse.jetty.util.BufferUtil.EMPTY_BUFFER:Ljava/nio/ByteBuffer;
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual java.lang.String.getBytes:(Ljava/nio/charset/Charset;)[B
astore 2
start local 2 3: aload 2
arraylength
invokestatic java.nio.ByteBuffer.allocateDirect:(I)Ljava/nio/ByteBuffer;
astore 3
start local 3 4: aload 3
aload 2
invokevirtual java.nio.ByteBuffer.put:([B)Ljava/nio/ByteBuffer;
pop
5: aload 3
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/Buffer;
pop
6: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 s Ljava/lang/String;
0 7 1 charset Ljava/nio/charset/Charset;
3 7 2 bytes [B
4 7 3 buf Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
s
charset
public static java.nio.ByteBuffer toMappedBuffer(java.io.File);
descriptor: (Ljava/io/File;)Ljava/nio/ByteBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: aload 0
invokevirtual java.io.File.toPath:()Ljava/nio/file/Path;
iconst_1
anewarray java.nio.file.OpenOption
dup
iconst_0
getstatic java.nio.file.StandardOpenOption.READ:Ljava/nio/file/StandardOpenOption;
aastore
invokestatic java.nio.channels.FileChannel.open:(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/nio/channels/FileChannel;
astore 3
start local 3 2: aload 3
getstatic java.nio.channels.FileChannel$MapMode.READ_ONLY:Ljava/nio/channels/FileChannel$MapMode;
lconst_0
aload 0
invokevirtual java.io.File.length:()J
invokevirtual java.nio.channels.FileChannel.map:(Ljava/nio/channels/FileChannel$MapMode;JJ)Ljava/nio/MappedByteBuffer;
3: aload 3
ifnull 4
aload 3
invokevirtual java.nio.channels.FileChannel.close:()V
4: StackMap locals: java.io.File java.lang.Throwable java.lang.Throwable java.nio.channels.FileChannel
StackMap stack: java.nio.MappedByteBuffer
areturn
StackMap locals:
StackMap stack: java.lang.Throwable
5: astore 1
6: aload 3
ifnull 7
aload 3
invokevirtual java.nio.channels.FileChannel.close:()V
end local 3 StackMap locals:
StackMap stack:
7: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 2
aload 1
ifnonnull 9
aload 2
astore 1
goto 10
StackMap locals:
StackMap stack:
9: aload 1
aload 2
if_acmpeq 10
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 1
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 file Ljava/io/File;
2 7 3 channel Ljava/nio/channels/FileChannel;
Exception table:
from to target type
2 3 5 any
1 4 8 any
5 8 8 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file
public static java.lang.String toSummaryString(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: ldc "null"
areturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 3: aload 1
ldc "[p="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: aload 1
aload 0
invokevirtual java.nio.ByteBuffer.position:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
5: aload 1
ldc ",l="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: aload 1
aload 0
invokevirtual java.nio.ByteBuffer.limit:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
7: aload 1
ldc ",c="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: aload 1
aload 0
invokevirtual java.nio.ByteBuffer.capacity:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
9: aload 1
ldc ",r="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
10: aload 1
aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
11: aload 1
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
12: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 buffer Ljava/nio/ByteBuffer;
3 13 1 buf Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
buffer
public static java.lang.String toDetailString(java.nio.ByteBuffer[]);
descriptor: ([Ljava/nio/ByteBuffer;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
bipush 91
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
2: iconst_0
istore 2
start local 2 3: goto 8
4: StackMap locals: java.lang.StringBuilder int
StackMap stack:
iload 2
ifle 6
5: aload 1
bipush 44
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
6: StackMap locals:
StackMap stack:
aload 1
aload 0
iload 2
aaload
invokestatic org.eclipse.jetty.util.BufferUtil.toDetailString:(Ljava/nio/ByteBuffer;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: iinc 2 1
StackMap locals:
StackMap stack:
8: iload 2
aload 0
arraylength
if_icmplt 4
end local 2 9: aload 1
bipush 93
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
10: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 buffer [Ljava/nio/ByteBuffer;
1 11 1 builder Ljava/lang/StringBuilder;
3 9 2 i I
MethodParameters:
Name Flags
buffer
public static java.lang.String toDetailString(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: ldc "null"
areturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 3: aload 0
aload 1
invokestatic org.eclipse.jetty.util.BufferUtil.idString:(Ljava/nio/ByteBuffer;Ljava/lang/StringBuilder;)V
4: aload 1
ldc "[p="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: aload 1
aload 0
invokevirtual java.nio.ByteBuffer.position:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
6: aload 1
ldc ",l="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: aload 1
aload 0
invokevirtual java.nio.ByteBuffer.limit:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
8: aload 1
ldc ",c="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: aload 1
aload 0
invokevirtual java.nio.ByteBuffer.capacity:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
10: aload 1
ldc ",r="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: aload 1
aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
12: aload 1
ldc "]={"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
13: aload 1
aload 0
invokestatic org.eclipse.jetty.util.BufferUtil.appendDebugString:(Ljava/lang/StringBuilder;Ljava/nio/ByteBuffer;)V
14: aload 1
ldc "}"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
15: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 buffer Ljava/nio/ByteBuffer;
3 16 1 buf Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
buffer
private static void idString(java.nio.ByteBuffer, java.lang.StringBuilder);
descriptor: (Ljava/nio/ByteBuffer;Ljava/lang/StringBuilder;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
1: aload 1
ldc "@"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 0
invokevirtual java.nio.ByteBuffer.hasArray:()Z
ifeq 10
aload 0
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
iconst_4
if_icmpne 10
3: aload 1
bipush 84
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
4: aload 0
invokevirtual java.nio.ByteBuffer.array:()[B
astore 2
start local 2 5: aload 2
iconst_0
baload
aload 1
invokestatic org.eclipse.jetty.util.TypeUtil.toHex:(BLjava/lang/Appendable;)V
6: aload 2
iconst_1
baload
aload 1
invokestatic org.eclipse.jetty.util.TypeUtil.toHex:(BLjava/lang/Appendable;)V
7: aload 2
iconst_2
baload
aload 1
invokestatic org.eclipse.jetty.util.TypeUtil.toHex:(BLjava/lang/Appendable;)V
8: aload 2
iconst_3
baload
aload 1
invokestatic org.eclipse.jetty.util.TypeUtil.toHex:(BLjava/lang/Appendable;)V
end local 2 9: goto 11
10: StackMap locals:
StackMap stack:
aload 1
aload 0
invokestatic java.lang.System.identityHashCode:(Ljava/lang/Object;)I
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 buffer Ljava/nio/ByteBuffer;
0 12 1 out Ljava/lang/StringBuilder;
5 9 2 array [B
MethodParameters:
Name Flags
buffer
out
public static java.lang.String toIDString(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 0
aload 1
invokestatic org.eclipse.jetty.util.BufferUtil.idString:(Ljava/nio/ByteBuffer;Ljava/lang/StringBuilder;)V
2: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 buffer Ljava/nio/ByteBuffer;
1 3 1 buf Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
buffer
private static void appendDebugString(java.lang.StringBuilder, java.nio.ByteBuffer);
descriptor: (Ljava/lang/StringBuilder;Ljava/nio/ByteBuffer;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.nio.ByteBuffer.asReadOnlyBuffer:()Ljava/nio/ByteBuffer;
astore 1
1: iconst_0
istore 2
start local 2 2: goto 8
3: StackMap locals: int
StackMap stack:
aload 0
aload 1
iload 2
invokevirtual java.nio.ByteBuffer.get:(I)B
invokestatic org.eclipse.jetty.util.BufferUtil.appendContentChar:(Ljava/lang/StringBuilder;B)V
4: iload 2
bipush 16
if_icmpne 7
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
bipush 32
if_icmple 7
5: aload 0
ldc "..."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: aload 1
invokevirtual java.nio.ByteBuffer.position:()I
bipush 16
isub
istore 2
7: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
8: iload 2
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
if_icmplt 3
end local 2 9: aload 0
ldc "<<<"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
10: aload 1
invokevirtual java.nio.ByteBuffer.position:()I
istore 2
start local 2 11: goto 17
12: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
invokevirtual java.nio.ByteBuffer.get:(I)B
invokestatic org.eclipse.jetty.util.BufferUtil.appendContentChar:(Ljava/lang/StringBuilder;B)V
13: iload 2
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
bipush 16
iadd
if_icmpne 16
aload 1
invokevirtual java.nio.ByteBuffer.limit:()I
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
bipush 32
iadd
if_icmple 16
14: aload 0
ldc "..."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
15: aload 1
invokevirtual java.nio.ByteBuffer.limit:()I
bipush 16
isub
istore 2
16: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
17: iload 2
aload 1
invokevirtual java.nio.ByteBuffer.limit:()I
if_icmplt 12
end local 2 18: aload 0
ldc ">>>"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
19: aload 1
invokevirtual java.nio.ByteBuffer.limit:()I
istore 2
start local 2 20: aload 1
aload 1
invokevirtual java.nio.ByteBuffer.capacity:()I
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
pop
21: iload 2
istore 3
start local 3 22: goto 28
23: StackMap locals: int
StackMap stack:
aload 0
aload 1
iload 3
invokevirtual java.nio.ByteBuffer.get:(I)B
invokestatic org.eclipse.jetty.util.BufferUtil.appendContentChar:(Ljava/lang/StringBuilder;B)V
24: iload 3
iload 2
bipush 16
iadd
if_icmpne 27
aload 1
invokevirtual java.nio.ByteBuffer.capacity:()I
iload 2
bipush 32
iadd
if_icmple 27
25: aload 0
ldc "..."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
26: aload 1
invokevirtual java.nio.ByteBuffer.capacity:()I
bipush 16
isub
istore 3
27: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
28: iload 3
aload 1
invokevirtual java.nio.ByteBuffer.capacity:()I
if_icmplt 23
end local 3 29: aload 1
iload 2
invokevirtual java.nio.ByteBuffer.limit:(I)Ljava/nio/Buffer;
pop
end local 2 30: goto 34
31: StackMap locals: java.lang.StringBuilder java.nio.ByteBuffer
StackMap stack: java.lang.Throwable
astore 2
start local 2 32: invokestatic org.eclipse.jetty.util.log.Log.getRootLogger:()Lorg/eclipse/jetty/util/log/Logger;
aload 2
invokeinterface org.eclipse.jetty.util.log.Logger.ignore:(Ljava/lang/Throwable;)V
33: aload 0
ldc "!!concurrent mod!!"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 2 34: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 35 0 buf Ljava/lang/StringBuilder;
0 35 1 buffer Ljava/nio/ByteBuffer;
2 9 2 i I
11 18 2 i I
20 30 2 limit I
22 29 3 i I
32 34 2 x Ljava/lang/Throwable;
Exception table:
from to target type
1 30 31 Class java.lang.Throwable
MethodParameters:
Name Flags
buf
buffer
private static void appendContentChar(java.lang.StringBuilder, byte);
descriptor: (Ljava/lang/StringBuilder;B)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
bipush 92
if_icmpne 2
1: aload 0
ldc "\\\\"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
goto 11
2: StackMap locals:
StackMap stack:
iload 1
bipush 32
if_icmplt 4
iload 1
bipush 126
if_icmpgt 4
3: aload 0
iload 1
i2c
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
goto 11
4: StackMap locals:
StackMap stack:
iload 1
bipush 13
if_icmpne 6
5: aload 0
ldc "\\r"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
goto 11
6: StackMap locals:
StackMap stack:
iload 1
bipush 10
if_icmpne 8
7: aload 0
ldc "\\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
goto 11
8: StackMap locals:
StackMap stack:
iload 1
bipush 9
if_icmpne 10
9: aload 0
ldc "\\t"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
goto 11
10: StackMap locals:
StackMap stack:
aload 0
ldc "\\x"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 1
invokestatic org.eclipse.jetty.util.TypeUtil.toHexString:(B)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 buf Ljava/lang/StringBuilder;
0 12 1 b B
MethodParameters:
Name Flags
buf
b
public static java.lang.String toHexSummary(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: ldc "null"
areturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 3: aload 1
ldc "b["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "]="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: aload 0
invokevirtual java.nio.ByteBuffer.position:()I
istore 2
start local 2 5: goto 11
6: StackMap locals: java.lang.StringBuilder int
StackMap stack:
aload 0
iload 2
invokevirtual java.nio.ByteBuffer.get:(I)B
aload 1
invokestatic org.eclipse.jetty.util.TypeUtil.toHex:(BLjava/lang/Appendable;)V
7: iload 2
aload 0
invokevirtual java.nio.ByteBuffer.position:()I
bipush 24
iadd
if_icmpne 10
aload 0
invokevirtual java.nio.ByteBuffer.limit:()I
aload 0
invokevirtual java.nio.ByteBuffer.position:()I
bipush 32
iadd
if_icmple 10
8: aload 1
ldc "..."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: aload 0
invokevirtual java.nio.ByteBuffer.limit:()I
bipush 8
isub
istore 2
10: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
11: iload 2
aload 0
invokevirtual java.nio.ByteBuffer.limit:()I
if_icmplt 6
end local 2 12: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 buffer Ljava/nio/ByteBuffer;
3 13 1 buf Ljava/lang/StringBuilder;
5 12 2 i I
MethodParameters:
Name Flags
buffer
public static java.lang.String toHexString(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: ldc "null"
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokestatic org.eclipse.jetty.util.BufferUtil.toArray:(Ljava/nio/ByteBuffer;)[B
invokestatic org.eclipse.jetty.util.TypeUtil.toHexString:([B)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 buffer Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
buffer
public static void putCRLF(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
bipush 13
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
1: aload 0
bipush 10
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 buffer Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
buffer
public static boolean isPrefix(java.nio.ByteBuffer, java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
if_icmple 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
istore 2
start local 2 3: aload 0
invokevirtual java.nio.ByteBuffer.position:()I
istore 3
start local 3 4: goto 8
5: StackMap locals: int int
StackMap stack:
aload 0
iload 3
invokevirtual java.nio.ByteBuffer.get:(I)B
aload 1
iload 2
iinc 2 1
invokevirtual java.nio.ByteBuffer.get:(I)B
if_icmpeq 7
6: iconst_0
ireturn
7: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
aload 0
invokevirtual java.nio.ByteBuffer.limit:()I
if_icmplt 5
end local 3 9: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 prefix Ljava/nio/ByteBuffer;
0 10 1 buffer Ljava/nio/ByteBuffer;
3 10 2 bi I
4 9 3 i I
MethodParameters:
Name Flags
prefix
buffer
public static java.nio.ByteBuffer ensureCapacity(java.nio.ByteBuffer, int);
descriptor: (Ljava/nio/ByteBuffer;I)Ljava/nio/ByteBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 2
1: iload 1
invokestatic org.eclipse.jetty.util.BufferUtil.allocate:(I)Ljava/nio/ByteBuffer;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.nio.ByteBuffer.capacity:()I
iload 1
if_icmplt 4
3: aload 0
areturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.nio.ByteBuffer.hasArray:()Z
ifeq 6
5: aload 0
invokevirtual java.nio.ByteBuffer.array:()[B
aload 0
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
aload 0
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
iload 1
iadd
invokestatic java.util.Arrays.copyOfRange:([BII)[B
aload 0
invokevirtual java.nio.ByteBuffer.position:()I
aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
invokestatic java.nio.ByteBuffer.wrap:([BII)Ljava/nio/ByteBuffer;
areturn
6: StackMap locals:
StackMap stack:
new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 buffer Ljava/nio/ByteBuffer;
0 7 1 capacity I
MethodParameters:
Name Flags
buffer
capacity
}
SourceFile: "BufferUtil.java"
InnerClasses:
public MapMode = java.nio.channels.FileChannel$MapMode of java.nio.channels.FileChannel