public class io.netty.buffer.UnpooledDirectByteBuf extends io.netty.buffer.AbstractReferenceCountedByteBuf
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.netty.buffer.UnpooledDirectByteBuf
super_class: io.netty.buffer.AbstractReferenceCountedByteBuf
{
private final io.netty.buffer.ByteBufAllocator alloc;
descriptor: Lio/netty/buffer/ByteBufAllocator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.nio.ByteBuffer buffer;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0002) ACC_PRIVATE
private java.nio.ByteBuffer tmpNioBuf;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0002) ACC_PRIVATE
private int capacity;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private boolean doNotFree;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>(io.netty.buffer.ByteBufAllocator, int, int);
descriptor: (Lio/netty/buffer/ByteBufAllocator;II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 3
invokespecial io.netty.buffer.AbstractReferenceCountedByteBuf.<init>:(I)V
1: aload 1
ifnonnull 3
2: new java.lang.NullPointerException
dup
ldc "alloc"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: io.netty.buffer.UnpooledDirectByteBuf io.netty.buffer.ByteBufAllocator int int
StackMap stack:
iload 2
ifge 5
4: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "initialCapacity: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
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
5: StackMap locals:
StackMap stack:
iload 3
ifge 7
6: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "maxCapacity: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 3
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
7: StackMap locals:
StackMap stack:
iload 2
iload 3
if_icmple 11
8: new java.lang.IllegalArgumentException
dup
9: ldc "initialCapacity(%d) > maxCapacity(%d)"
iconst_2
anewarray java.lang.Object
dup
iconst_0
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
10: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield io.netty.buffer.UnpooledDirectByteBuf.alloc:Lio/netty/buffer/ByteBufAllocator;
12: aload 0
iload 2
invokestatic java.nio.ByteBuffer.allocateDirect:(I)Ljava/nio/ByteBuffer;
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.setByteBuffer:(Ljava/nio/ByteBuffer;)V
13: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 14 1 alloc Lio/netty/buffer/ByteBufAllocator;
0 14 2 initialCapacity I
0 14 3 maxCapacity I
MethodParameters:
Name Flags
alloc
initialCapacity
maxCapacity
protected void <init>(io.netty.buffer.ByteBufAllocator, java.nio.ByteBuffer, int);
descriptor: (Lio/netty/buffer/ByteBufAllocator;Ljava/nio/ByteBuffer;I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 3
invokespecial io.netty.buffer.AbstractReferenceCountedByteBuf.<init>:(I)V
1: aload 1
ifnonnull 3
2: new java.lang.NullPointerException
dup
ldc "alloc"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: io.netty.buffer.UnpooledDirectByteBuf io.netty.buffer.ByteBufAllocator java.nio.ByteBuffer int
StackMap stack:
aload 2
ifnonnull 5
4: new java.lang.NullPointerException
dup
ldc "initialBuffer"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.nio.ByteBuffer.isDirect:()Z
ifne 7
6: new java.lang.IllegalArgumentException
dup
ldc "initialBuffer is not a direct buffer."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.nio.ByteBuffer.isReadOnly:()Z
ifeq 9
8: new java.lang.IllegalArgumentException
dup
ldc "initialBuffer is a read-only buffer."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.nio.ByteBuffer.remaining:()I
istore 4
start local 4 10: iload 4
iload 3
if_icmple 14
11: new java.lang.IllegalArgumentException
dup
12: ldc "initialCapacity(%d) > maxCapacity(%d)"
iconst_2
anewarray java.lang.Object
dup
iconst_0
iload 4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
13: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals: int
StackMap stack:
aload 0
aload 1
putfield io.netty.buffer.UnpooledDirectByteBuf.alloc:Lio/netty/buffer/ByteBufAllocator;
15: aload 0
iconst_1
putfield io.netty.buffer.UnpooledDirectByteBuf.doNotFree:Z
16: aload 0
aload 2
invokevirtual java.nio.ByteBuffer.slice:()Ljava/nio/ByteBuffer;
getstatic java.nio.ByteOrder.BIG_ENDIAN:Ljava/nio/ByteOrder;
invokevirtual java.nio.ByteBuffer.order:(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.setByteBuffer:(Ljava/nio/ByteBuffer;)V
17: aload 0
iload 4
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.writerIndex:(I)Lio/netty/buffer/ByteBuf;
pop
18: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 19 1 alloc Lio/netty/buffer/ByteBufAllocator;
0 19 2 initialBuffer Ljava/nio/ByteBuffer;
0 19 3 maxCapacity I
10 19 4 initialCapacity I
MethodParameters:
Name Flags
alloc
initialBuffer
maxCapacity
protected java.nio.ByteBuffer allocateDirect(int);
descriptor: (I)Ljava/nio/ByteBuffer;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iload 1
invokestatic java.nio.ByteBuffer.allocateDirect:(I)Ljava/nio/ByteBuffer;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 1 1 initialCapacity I
MethodParameters:
Name Flags
initialCapacity
protected void freeDirect(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic io.netty.util.internal.PlatformDependent.freeDirectBuffer:(Ljava/nio/ByteBuffer;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 2 1 buffer Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
buffer
private void setByteBuffer(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.netty.buffer.UnpooledDirectByteBuf.buffer:Ljava/nio/ByteBuffer;
astore 2
start local 2 1: aload 2
ifnull 6
2: aload 0
getfield io.netty.buffer.UnpooledDirectByteBuf.doNotFree:Z
ifeq 5
3: aload 0
iconst_0
putfield io.netty.buffer.UnpooledDirectByteBuf.doNotFree:Z
4: goto 6
5: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 0
aload 2
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.freeDirect:(Ljava/nio/ByteBuffer;)V
6: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield io.netty.buffer.UnpooledDirectByteBuf.buffer:Ljava/nio/ByteBuffer;
7: aload 0
aconst_null
putfield io.netty.buffer.UnpooledDirectByteBuf.tmpNioBuf:Ljava/nio/ByteBuffer;
8: aload 0
aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
putfield io.netty.buffer.UnpooledDirectByteBuf.capacity:I
9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 10 1 buffer Ljava/nio/ByteBuffer;
1 10 2 oldBuffer Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
buffer
public boolean isDirect();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
public int capacity();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.buffer.UnpooledDirectByteBuf.capacity:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
public io.netty.buffer.ByteBuf capacity(int);
descriptor: (I)Lio/netty/buffer/ByteBuf;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.checkNewCapacity:(I)V
1: aload 0
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.readerIndex:()I
istore 2
start local 2 2: aload 0
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.writerIndex:()I
istore 3
start local 3 3: aload 0
getfield io.netty.buffer.UnpooledDirectByteBuf.capacity:I
istore 4
start local 4 4: iload 1
iload 4
if_icmple 13
5: aload 0
getfield io.netty.buffer.UnpooledDirectByteBuf.buffer:Ljava/nio/ByteBuffer;
astore 5
start local 5 6: aload 0
iload 1
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.allocateDirect:(I)Ljava/nio/ByteBuffer;
astore 6
start local 6 7: aload 5
iconst_0
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
aload 5
invokevirtual java.nio.ByteBuffer.capacity:()I
invokevirtual java.nio.Buffer.limit:(I)Ljava/nio/Buffer;
pop
8: aload 6
iconst_0
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
aload 5
invokevirtual java.nio.ByteBuffer.capacity:()I
invokevirtual java.nio.Buffer.limit:(I)Ljava/nio/Buffer;
pop
9: aload 6
aload 5
invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
pop
10: aload 6
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
pop
11: aload 0
aload 6
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.setByteBuffer:(Ljava/nio/ByteBuffer;)V
end local 6 end local 5 12: goto 26
StackMap locals: int int int
StackMap stack:
13: iload 1
iload 4
if_icmpge 26
14: aload 0
getfield io.netty.buffer.UnpooledDirectByteBuf.buffer:Ljava/nio/ByteBuffer;
astore 5
start local 5 15: aload 0
iload 1
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.allocateDirect:(I)Ljava/nio/ByteBuffer;
astore 6
start local 6 16: iload 2
iload 1
if_icmpge 24
17: iload 3
iload 1
if_icmple 19
18: aload 0
iload 1
dup
istore 3
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.writerIndex:(I)Lio/netty/buffer/ByteBuf;
pop
19: StackMap locals: java.nio.ByteBuffer java.nio.ByteBuffer
StackMap stack:
aload 5
iload 2
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
iload 3
invokevirtual java.nio.Buffer.limit:(I)Ljava/nio/Buffer;
pop
20: aload 6
iload 2
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
iload 3
invokevirtual java.nio.Buffer.limit:(I)Ljava/nio/Buffer;
pop
21: aload 6
aload 5
invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
pop
22: aload 6
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
pop
23: goto 25
24: StackMap locals:
StackMap stack:
aload 0
iload 1
iload 1
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.setIndex:(II)Lio/netty/buffer/ByteBuf;
pop
25: StackMap locals:
StackMap stack:
aload 0
aload 6
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.setByteBuffer:(Ljava/nio/ByteBuffer;)V
end local 6 end local 5 26: StackMap locals:
StackMap stack:
aload 0
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 27 1 newCapacity I
2 27 2 readerIndex I
3 27 3 writerIndex I
4 27 4 oldCapacity I
6 12 5 oldBuffer Ljava/nio/ByteBuffer;
7 12 6 newBuffer Ljava/nio/ByteBuffer;
15 26 5 oldBuffer Ljava/nio/ByteBuffer;
16 26 6 newBuffer Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
newCapacity
public io.netty.buffer.ByteBufAllocator alloc();
descriptor: ()Lio/netty/buffer/ByteBufAllocator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.buffer.UnpooledDirectByteBuf.alloc:Lio/netty/buffer/ByteBufAllocator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
public java.nio.ByteOrder order();
descriptor: ()Ljava/nio/ByteOrder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic java.nio.ByteOrder.BIG_ENDIAN:Ljava/nio/ByteOrder;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
public boolean hasArray();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
public byte[] array();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
ldc "direct buffer"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
public int arrayOffset();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
ldc "direct buffer"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
public boolean hasMemoryAddress();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
public long memoryAddress();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
public byte getByte(int);
descriptor: (I)B
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.ensureAccessible:()V
1: aload 0
iload 1
invokevirtual io.netty.buffer.UnpooledDirectByteBuf._getByte:(I)B
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 2 1 index I
MethodParameters:
Name Flags
index
protected byte _getByte(int);
descriptor: (I)B
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.netty.buffer.UnpooledDirectByteBuf.buffer:Ljava/nio/ByteBuffer;
iload 1
invokevirtual java.nio.ByteBuffer.get:(I)B
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 1 1 index I
MethodParameters:
Name Flags
index
public short getShort(int);
descriptor: (I)S
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.ensureAccessible:()V
1: aload 0
iload 1
invokevirtual io.netty.buffer.UnpooledDirectByteBuf._getShort:(I)S
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 2 1 index I
MethodParameters:
Name Flags
index
protected short _getShort(int);
descriptor: (I)S
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.netty.buffer.UnpooledDirectByteBuf.buffer:Ljava/nio/ByteBuffer;
iload 1
invokevirtual java.nio.ByteBuffer.getShort:(I)S
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 1 1 index I
MethodParameters:
Name Flags
index
protected short _getShortLE(int);
descriptor: (I)S
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.netty.buffer.UnpooledDirectByteBuf.buffer:Ljava/nio/ByteBuffer;
iload 1
invokevirtual java.nio.ByteBuffer.getShort:(I)S
invokestatic io.netty.buffer.ByteBufUtil.swapShort:(S)S
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 1 1 index I
MethodParameters:
Name Flags
index
public int getUnsignedMedium(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.ensureAccessible:()V
1: aload 0
iload 1
invokevirtual io.netty.buffer.UnpooledDirectByteBuf._getUnsignedMedium:(I)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 2 1 index I
MethodParameters:
Name Flags
index
protected int _getUnsignedMedium(int);
descriptor: (I)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.getByte:(I)B
sipush 255
iand
bipush 16
ishl
1: aload 0
iload 1
iconst_1
iadd
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.getByte:(I)B
sipush 255
iand
bipush 8
ishl
2: ior
3: aload 0
iload 1
iconst_2
iadd
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.getByte:(I)B
sipush 255
iand
4: ior
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 5 1 index I
MethodParameters:
Name Flags
index
protected int _getUnsignedMediumLE(int);
descriptor: (I)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.getByte:(I)B
sipush 255
iand
1: aload 0
iload 1
iconst_1
iadd
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.getByte:(I)B
sipush 255
iand
bipush 8
ishl
2: ior
3: aload 0
iload 1
iconst_2
iadd
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.getByte:(I)B
sipush 255
iand
bipush 16
ishl
4: ior
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 5 1 index I
MethodParameters:
Name Flags
index
public int getInt(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.ensureAccessible:()V
1: aload 0
iload 1
invokevirtual io.netty.buffer.UnpooledDirectByteBuf._getInt:(I)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 2 1 index I
MethodParameters:
Name Flags
index
protected int _getInt(int);
descriptor: (I)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.netty.buffer.UnpooledDirectByteBuf.buffer:Ljava/nio/ByteBuffer;
iload 1
invokevirtual java.nio.ByteBuffer.getInt:(I)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 1 1 index I
MethodParameters:
Name Flags
index
protected int _getIntLE(int);
descriptor: (I)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.netty.buffer.UnpooledDirectByteBuf.buffer:Ljava/nio/ByteBuffer;
iload 1
invokevirtual java.nio.ByteBuffer.getInt:(I)I
invokestatic io.netty.buffer.ByteBufUtil.swapInt:(I)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 1 1 index I
MethodParameters:
Name Flags
index
public long getLong(int);
descriptor: (I)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.ensureAccessible:()V
1: aload 0
iload 1
invokevirtual io.netty.buffer.UnpooledDirectByteBuf._getLong:(I)J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 2 1 index I
MethodParameters:
Name Flags
index
protected long _getLong(int);
descriptor: (I)J
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.netty.buffer.UnpooledDirectByteBuf.buffer:Ljava/nio/ByteBuffer;
iload 1
invokevirtual java.nio.ByteBuffer.getLong:(I)J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 1 1 index I
MethodParameters:
Name Flags
index
protected long _getLongLE(int);
descriptor: (I)J
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.netty.buffer.UnpooledDirectByteBuf.buffer:Ljava/nio/ByteBuffer;
iload 1
invokevirtual java.nio.ByteBuffer.getLong:(I)J
invokestatic io.netty.buffer.ByteBufUtil.swapLong:(J)J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 1 1 index I
MethodParameters:
Name Flags
index
public io.netty.buffer.ByteBuf getBytes(int, io.netty.buffer.ByteBuf, int, int);
descriptor: (ILio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=10, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iload 1
iload 4
iload 3
aload 2
invokevirtual io.netty.buffer.ByteBuf.capacity:()I
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.checkDstIndex:(IIII)V
1: aload 2
invokevirtual io.netty.buffer.ByteBuf.hasArray:()Z
ifeq 4
2: aload 0
iload 1
aload 2
invokevirtual io.netty.buffer.ByteBuf.array:()[B
aload 2
invokevirtual io.netty.buffer.ByteBuf.arrayOffset:()I
iload 3
iadd
iload 4
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.getBytes:(I[BII)Lio/netty/buffer/ByteBuf;
pop
3: goto 14
StackMap locals:
StackMap stack:
4: aload 2
invokevirtual io.netty.buffer.ByteBuf.nioBufferCount:()I
ifle 13
5: aload 2
iload 3
iload 4
invokevirtual io.netty.buffer.ByteBuf.nioBuffers:(II)[Ljava/nio/ByteBuffer;
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 11
StackMap locals: io.netty.buffer.UnpooledDirectByteBuf int io.netty.buffer.ByteBuf int int top int int java.nio.ByteBuffer[]
StackMap stack:
6: aload 8
iload 6
aaload
astore 5
start local 5 7: aload 5
invokevirtual java.nio.ByteBuffer.remaining:()I
istore 9
start local 9 8: aload 0
iload 1
aload 5
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.getBytes:(ILjava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf;
pop
9: iload 1
iload 9
iadd
istore 1
end local 9 end local 5 10: iinc 6 1
StackMap locals:
StackMap stack:
11: iload 6
iload 7
if_icmplt 6
12: goto 14
13: StackMap locals: io.netty.buffer.UnpooledDirectByteBuf int io.netty.buffer.ByteBuf int int
StackMap stack:
aload 2
iload 3
aload 0
iload 1
iload 4
invokevirtual io.netty.buffer.ByteBuf.setBytes:(ILio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf;
pop
14: StackMap locals:
StackMap stack:
aload 0
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 15 1 index I
0 15 2 dst Lio/netty/buffer/ByteBuf;
0 15 3 dstIndex I
0 15 4 length I
7 10 5 bb Ljava/nio/ByteBuffer;
8 10 9 bbLen I
MethodParameters:
Name Flags
index
dst
dstIndex
length
public io.netty.buffer.ByteBuf getBytes(int, byte[], int, int);
descriptor: (I[BII)Lio/netty/buffer/ByteBuf;
flags: (0x0001) ACC_PUBLIC
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
aload 2
iload 3
iload 4
iconst_0
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.getBytes:(I[BIIZ)V
1: aload 0
areturn
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 Lio/netty/buffer/UnpooledDirectByteBuf;
0 2 1 index I
0 2 2 dst [B
0 2 3 dstIndex I
0 2 4 length I
MethodParameters:
Name Flags
index
dst
dstIndex
length
private void getBytes(int, byte[], int, int, boolean);
descriptor: (I[BIIZ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, 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
iload 1
iload 4
iload 3
aload 2
arraylength
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.checkDstIndex:(IIII)V
1: iload 5
ifeq 4
2: aload 0
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.internalNioBuffer:()Ljava/nio/ByteBuffer;
astore 6
start local 6 3: goto 5
end local 6 4: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.buffer.UnpooledDirectByteBuf.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.duplicate:()Ljava/nio/ByteBuffer;
astore 6
start local 6 5: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 6
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
iload 1
invokevirtual java.nio.Buffer.position:(I)Ljava/nio/Buffer;
iload 1
iload 4
iadd
invokevirtual java.nio.Buffer.limit:(I)Ljava/nio/Buffer;
pop
6: aload 6
aload 2
iload 3
iload 4
invokevirtual java.nio.ByteBuffer.get:([BII)Ljava/nio/ByteBuffer;
pop
7: 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 8 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 8 1 index I
0 8 2 dst [B
0 8 3 dstIndex I
0 8 4 length I
0 8 5 internal Z
3 4 6 tmpBuf Ljava/nio/ByteBuffer;
5 8 6 tmpBuf Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
index
dst
dstIndex
length
internal
public io.netty.buffer.ByteBuf readBytes(byte[], int, int);
descriptor: ([BII)Lio/netty/buffer/ByteBuf;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 3
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.checkReadableBytes:(I)V
1: aload 0
aload 0
getfield io.netty.buffer.UnpooledDirectByteBuf.readerIndex:I
aload 1
iload 2
iload 3
iconst_1
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.getBytes:(I[BIIZ)V
2: aload 0
dup
getfield io.netty.buffer.UnpooledDirectByteBuf.readerIndex:I
iload 3
iadd
putfield io.netty.buffer.UnpooledDirectByteBuf.readerIndex:I
3: aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 4 1 dst [B
0 4 2 dstIndex I
0 4 3 length I
MethodParameters:
Name Flags
dst
dstIndex
length
public io.netty.buffer.ByteBuf getBytes(int, java.nio.ByteBuffer);
descriptor: (ILjava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
aload 2
iconst_0
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.getBytes:(ILjava/nio/ByteBuffer;Z)V
1: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 2 1 index I
0 2 2 dst Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
index
dst
private void getBytes(int, java.nio.ByteBuffer, boolean);
descriptor: (ILjava/nio/ByteBuffer;Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
aload 2
invokevirtual java.nio.ByteBuffer.remaining:()I
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.checkIndex:(II)V
1: iload 3
ifeq 4
2: aload 0
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.internalNioBuffer:()Ljava/nio/ByteBuffer;
astore 4
start local 4 3: goto 5
end local 4 4: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.buffer.UnpooledDirectByteBuf.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.duplicate:()Ljava/nio/ByteBuffer;
astore 4
start local 4 5: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 4
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
iload 1
invokevirtual java.nio.Buffer.position:(I)Ljava/nio/Buffer;
iload 1
aload 2
invokevirtual java.nio.ByteBuffer.remaining:()I
iadd
invokevirtual java.nio.Buffer.limit:(I)Ljava/nio/Buffer;
pop
6: aload 2
aload 4
invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
pop
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 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 8 1 index I
0 8 2 dst Ljava/nio/ByteBuffer;
0 8 3 internal Z
3 4 4 tmpBuf Ljava/nio/ByteBuffer;
5 8 4 tmpBuf Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
index
dst
internal
public io.netty.buffer.ByteBuf readBytes(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
istore 2
start local 2 1: aload 0
iload 2
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.checkReadableBytes:(I)V
2: aload 0
aload 0
getfield io.netty.buffer.UnpooledDirectByteBuf.readerIndex:I
aload 1
iconst_1
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.getBytes:(ILjava/nio/ByteBuffer;Z)V
3: aload 0
dup
getfield io.netty.buffer.UnpooledDirectByteBuf.readerIndex:I
iload 2
iadd
putfield io.netty.buffer.UnpooledDirectByteBuf.readerIndex:I
4: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 5 1 dst Ljava/nio/ByteBuffer;
1 5 2 length I
MethodParameters:
Name Flags
dst
public io.netty.buffer.ByteBuf setByte(int, int);
descriptor: (II)Lio/netty/buffer/ByteBuf;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.ensureAccessible:()V
1: aload 0
iload 1
iload 2
invokevirtual io.netty.buffer.UnpooledDirectByteBuf._setByte:(II)V
2: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 3 1 index I
0 3 2 value I
MethodParameters:
Name Flags
index
value
protected void _setByte(int, int);
descriptor: (II)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.netty.buffer.UnpooledDirectByteBuf.buffer:Ljava/nio/ByteBuffer;
iload 1
iload 2
i2b
invokevirtual java.nio.ByteBuffer.put:(IB)Ljava/nio/ByteBuffer;
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 2 1 index I
0 2 2 value I
MethodParameters:
Name Flags
index
value
public io.netty.buffer.ByteBuf setShort(int, int);
descriptor: (II)Lio/netty/buffer/ByteBuf;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.ensureAccessible:()V
1: aload 0
iload 1
iload 2
invokevirtual io.netty.buffer.UnpooledDirectByteBuf._setShort:(II)V
2: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 3 1 index I
0 3 2 value I
MethodParameters:
Name Flags
index
value
protected void _setShort(int, int);
descriptor: (II)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.netty.buffer.UnpooledDirectByteBuf.buffer:Ljava/nio/ByteBuffer;
iload 1
iload 2
i2s
invokevirtual java.nio.ByteBuffer.putShort:(IS)Ljava/nio/ByteBuffer;
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 2 1 index I
0 2 2 value I
MethodParameters:
Name Flags
index
value
protected void _setShortLE(int, int);
descriptor: (II)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.netty.buffer.UnpooledDirectByteBuf.buffer:Ljava/nio/ByteBuffer;
iload 1
iload 2
i2s
invokestatic io.netty.buffer.ByteBufUtil.swapShort:(S)S
invokevirtual java.nio.ByteBuffer.putShort:(IS)Ljava/nio/ByteBuffer;
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 2 1 index I
0 2 2 value I
MethodParameters:
Name Flags
index
value
public io.netty.buffer.ByteBuf setMedium(int, int);
descriptor: (II)Lio/netty/buffer/ByteBuf;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.ensureAccessible:()V
1: aload 0
iload 1
iload 2
invokevirtual io.netty.buffer.UnpooledDirectByteBuf._setMedium:(II)V
2: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 3 1 index I
0 3 2 value I
MethodParameters:
Name Flags
index
value
protected void _setMedium(int, int);
descriptor: (II)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
iload 2
bipush 16
iushr
i2b
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.setByte:(II)Lio/netty/buffer/ByteBuf;
pop
1: aload 0
iload 1
iconst_1
iadd
iload 2
bipush 8
iushr
i2b
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.setByte:(II)Lio/netty/buffer/ByteBuf;
pop
2: aload 0
iload 1
iconst_2
iadd
iload 2
i2b
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.setByte:(II)Lio/netty/buffer/ByteBuf;
pop
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 4 1 index I
0 4 2 value I
MethodParameters:
Name Flags
index
value
protected void _setMediumLE(int, int);
descriptor: (II)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
iload 2
i2b
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.setByte:(II)Lio/netty/buffer/ByteBuf;
pop
1: aload 0
iload 1
iconst_1
iadd
iload 2
bipush 8
iushr
i2b
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.setByte:(II)Lio/netty/buffer/ByteBuf;
pop
2: aload 0
iload 1
iconst_2
iadd
iload 2
bipush 16
iushr
i2b
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.setByte:(II)Lio/netty/buffer/ByteBuf;
pop
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 4 1 index I
0 4 2 value I
MethodParameters:
Name Flags
index
value
public io.netty.buffer.ByteBuf setInt(int, int);
descriptor: (II)Lio/netty/buffer/ByteBuf;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.ensureAccessible:()V
1: aload 0
iload 1
iload 2
invokevirtual io.netty.buffer.UnpooledDirectByteBuf._setInt:(II)V
2: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 3 1 index I
0 3 2 value I
MethodParameters:
Name Flags
index
value
protected void _setInt(int, int);
descriptor: (II)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.netty.buffer.UnpooledDirectByteBuf.buffer:Ljava/nio/ByteBuffer;
iload 1
iload 2
invokevirtual java.nio.ByteBuffer.putInt:(II)Ljava/nio/ByteBuffer;
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 2 1 index I
0 2 2 value I
MethodParameters:
Name Flags
index
value
protected void _setIntLE(int, int);
descriptor: (II)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.netty.buffer.UnpooledDirectByteBuf.buffer:Ljava/nio/ByteBuffer;
iload 1
iload 2
invokestatic io.netty.buffer.ByteBufUtil.swapInt:(I)I
invokevirtual java.nio.ByteBuffer.putInt:(II)Ljava/nio/ByteBuffer;
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 2 1 index I
0 2 2 value I
MethodParameters:
Name Flags
index
value
public io.netty.buffer.ByteBuf setLong(int, long);
descriptor: (IJ)Lio/netty/buffer/ByteBuf;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.ensureAccessible:()V
1: aload 0
iload 1
lload 2
invokevirtual io.netty.buffer.UnpooledDirectByteBuf._setLong:(IJ)V
2: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 3 1 index I
0 3 2 value J
MethodParameters:
Name Flags
index
value
protected void _setLong(int, long);
descriptor: (IJ)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.netty.buffer.UnpooledDirectByteBuf.buffer:Ljava/nio/ByteBuffer;
iload 1
lload 2
invokevirtual java.nio.ByteBuffer.putLong:(IJ)Ljava/nio/ByteBuffer;
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 2 1 index I
0 2 2 value J
MethodParameters:
Name Flags
index
value
protected void _setLongLE(int, long);
descriptor: (IJ)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.netty.buffer.UnpooledDirectByteBuf.buffer:Ljava/nio/ByteBuffer;
iload 1
lload 2
invokestatic io.netty.buffer.ByteBufUtil.swapLong:(J)J
invokevirtual java.nio.ByteBuffer.putLong:(IJ)Ljava/nio/ByteBuffer;
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 2 1 index I
0 2 2 value J
MethodParameters:
Name Flags
index
value
public io.netty.buffer.ByteBuf setBytes(int, io.netty.buffer.ByteBuf, int, int);
descriptor: (ILio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=10, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iload 1
iload 4
iload 3
aload 2
invokevirtual io.netty.buffer.ByteBuf.capacity:()I
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.checkSrcIndex:(IIII)V
1: aload 2
invokevirtual io.netty.buffer.ByteBuf.nioBufferCount:()I
ifle 10
2: aload 2
iload 3
iload 4
invokevirtual io.netty.buffer.ByteBuf.nioBuffers:(II)[Ljava/nio/ByteBuffer;
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 8
StackMap locals: io.netty.buffer.UnpooledDirectByteBuf int io.netty.buffer.ByteBuf int int top int int java.nio.ByteBuffer[]
StackMap stack:
3: aload 8
iload 6
aaload
astore 5
start local 5 4: aload 5
invokevirtual java.nio.ByteBuffer.remaining:()I
istore 9
start local 9 5: aload 0
iload 1
aload 5
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.setBytes:(ILjava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf;
pop
6: iload 1
iload 9
iadd
istore 1
end local 9 end local 5 7: iinc 6 1
StackMap locals:
StackMap stack:
8: iload 6
iload 7
if_icmplt 3
9: goto 11
10: StackMap locals: io.netty.buffer.UnpooledDirectByteBuf int io.netty.buffer.ByteBuf int int
StackMap stack:
aload 2
iload 3
aload 0
iload 1
iload 4
invokevirtual io.netty.buffer.ByteBuf.getBytes:(ILio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf;
pop
11: StackMap locals:
StackMap stack:
aload 0
areturn
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 Lio/netty/buffer/UnpooledDirectByteBuf;
0 12 1 index I
0 12 2 src Lio/netty/buffer/ByteBuf;
0 12 3 srcIndex I
0 12 4 length I
4 7 5 bb Ljava/nio/ByteBuffer;
5 7 9 bbLen I
MethodParameters:
Name Flags
index
src
srcIndex
length
public io.netty.buffer.ByteBuf setBytes(int, byte[], int, int);
descriptor: (I[BII)Lio/netty/buffer/ByteBuf;
flags: (0x0001) ACC_PUBLIC
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 0
iload 1
iload 4
iload 3
aload 2
arraylength
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.checkSrcIndex:(IIII)V
1: aload 0
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.internalNioBuffer:()Ljava/nio/ByteBuffer;
astore 5
start local 5 2: aload 5
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
iload 1
invokevirtual java.nio.Buffer.position:(I)Ljava/nio/Buffer;
iload 1
iload 4
iadd
invokevirtual java.nio.Buffer.limit:(I)Ljava/nio/Buffer;
pop
3: aload 5
aload 2
iload 3
iload 4
invokevirtual java.nio.ByteBuffer.put:([BII)Ljava/nio/ByteBuffer;
pop
4: aload 0
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 5 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 5 1 index I
0 5 2 src [B
0 5 3 srcIndex I
0 5 4 length I
2 5 5 tmpBuf Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
index
src
srcIndex
length
public io.netty.buffer.ByteBuf setBytes(int, java.nio.ByteBuffer);
descriptor: (ILjava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.ensureAccessible:()V
1: aload 0
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.internalNioBuffer:()Ljava/nio/ByteBuffer;
astore 3
start local 3 2: aload 2
aload 3
if_acmpne 4
3: aload 2
invokevirtual java.nio.ByteBuffer.duplicate:()Ljava/nio/ByteBuffer;
astore 2
4: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 3
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
iload 1
invokevirtual java.nio.Buffer.position:(I)Ljava/nio/Buffer;
iload 1
aload 2
invokevirtual java.nio.ByteBuffer.remaining:()I
iadd
invokevirtual java.nio.Buffer.limit:(I)Ljava/nio/Buffer;
pop
5: aload 3
aload 2
invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
pop
6: aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 7 1 index I
0 7 2 src Ljava/nio/ByteBuffer;
2 7 3 tmpBuf Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
index
src
public io.netty.buffer.ByteBuf getBytes(int, java.io.OutputStream, int);
descriptor: (ILjava/io/OutputStream;I)Lio/netty/buffer/ByteBuf;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
aload 2
iload 3
iconst_0
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.getBytes:(ILjava/io/OutputStream;IZ)V
1: aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 2 1 index I
0 2 2 out Ljava/io/OutputStream;
0 2 3 length I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
index
out
length
private void getBytes(int, java.io.OutputStream, int, boolean);
descriptor: (ILjava/io/OutputStream;IZ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.ensureAccessible:()V
1: iload 3
ifne 3
2: return
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.alloc:()Lio/netty/buffer/ByteBufAllocator;
iload 4
ifeq 4
aload 0
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.internalNioBuffer:()Ljava/nio/ByteBuffer;
goto 5
StackMap locals:
StackMap stack: io.netty.buffer.ByteBufAllocator
4: aload 0
getfield io.netty.buffer.UnpooledDirectByteBuf.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.duplicate:()Ljava/nio/ByteBuffer;
StackMap locals: io.netty.buffer.UnpooledDirectByteBuf int java.io.OutputStream int int
StackMap stack: io.netty.buffer.ByteBufAllocator java.nio.ByteBuffer
5: iload 1
iload 3
aload 2
invokestatic io.netty.buffer.ByteBufUtil.readBytes:(Lio/netty/buffer/ByteBufAllocator;Ljava/nio/ByteBuffer;IILjava/io/OutputStream;)V
6: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 7 1 index I
0 7 2 out Ljava/io/OutputStream;
0 7 3 length I
0 7 4 internal Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
index
out
length
internal
public io.netty.buffer.ByteBuf readBytes(java.io.OutputStream, int);
descriptor: (Ljava/io/OutputStream;I)Lio/netty/buffer/ByteBuf;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 2
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.checkReadableBytes:(I)V
1: aload 0
aload 0
getfield io.netty.buffer.UnpooledDirectByteBuf.readerIndex:I
aload 1
iload 2
iconst_1
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.getBytes:(ILjava/io/OutputStream;IZ)V
2: aload 0
dup
getfield io.netty.buffer.UnpooledDirectByteBuf.readerIndex:I
iload 2
iadd
putfield io.netty.buffer.UnpooledDirectByteBuf.readerIndex:I
3: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 4 1 out Ljava/io/OutputStream;
0 4 2 length I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
length
public int getBytes(int, java.nio.channels.GatheringByteChannel, int);
descriptor: (ILjava/nio/channels/GatheringByteChannel;I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
aload 2
iload 3
iconst_0
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.getBytes:(ILjava/nio/channels/GatheringByteChannel;IZ)I
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 1 1 index I
0 1 2 out Ljava/nio/channels/GatheringByteChannel;
0 1 3 length I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
index
out
length
private int getBytes(int, java.nio.channels.GatheringByteChannel, int, boolean);
descriptor: (ILjava/nio/channels/GatheringByteChannel;IZ)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.ensureAccessible:()V
1: iload 3
ifne 3
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
iload 4
ifeq 6
4: aload 0
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.internalNioBuffer:()Ljava/nio/ByteBuffer;
astore 5
start local 5 5: goto 7
end local 5 6: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.buffer.UnpooledDirectByteBuf.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.duplicate:()Ljava/nio/ByteBuffer;
astore 5
start local 5 7: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 5
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
iload 1
invokevirtual java.nio.Buffer.position:(I)Ljava/nio/Buffer;
iload 1
iload 3
iadd
invokevirtual java.nio.Buffer.limit:(I)Ljava/nio/Buffer;
pop
8: aload 2
aload 5
invokeinterface java.nio.channels.GatheringByteChannel.write:(Ljava/nio/ByteBuffer;)I
ireturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 9 1 index I
0 9 2 out Ljava/nio/channels/GatheringByteChannel;
0 9 3 length I
0 9 4 internal Z
5 6 5 tmpBuf Ljava/nio/ByteBuffer;
7 9 5 tmpBuf Ljava/nio/ByteBuffer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
index
out
length
internal
public int getBytes(int, java.nio.channels.FileChannel, long, int);
descriptor: (ILjava/nio/channels/FileChannel;JI)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 5 0: aload 0
iload 1
aload 2
lload 3
iload 5
iconst_0
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.getBytes:(ILjava/nio/channels/FileChannel;JIZ)I
ireturn
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 1 1 index I
0 1 2 out Ljava/nio/channels/FileChannel;
0 1 3 position J
0 1 5 length I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
index
out
position
length
private int getBytes(int, java.nio.channels.FileChannel, long, int, boolean);
descriptor: (ILjava/nio/channels/FileChannel;JIZ)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=8, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 5 start local 6 0: aload 0
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.ensureAccessible:()V
1: iload 5
ifne 3
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
iload 6
ifeq 4
aload 0
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.internalNioBuffer:()Ljava/nio/ByteBuffer;
goto 5
StackMap locals:
StackMap stack:
4: aload 0
getfield io.netty.buffer.UnpooledDirectByteBuf.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.duplicate:()Ljava/nio/ByteBuffer;
StackMap locals:
StackMap stack: java.nio.ByteBuffer
5: astore 7
start local 7 6: aload 7
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
iload 1
invokevirtual java.nio.Buffer.position:(I)Ljava/nio/Buffer;
iload 1
iload 5
iadd
invokevirtual java.nio.Buffer.limit:(I)Ljava/nio/Buffer;
pop
7: aload 2
aload 7
lload 3
invokevirtual java.nio.channels.FileChannel.write:(Ljava/nio/ByteBuffer;J)I
ireturn
end local 7 end local 6 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 8 1 index I
0 8 2 out Ljava/nio/channels/FileChannel;
0 8 3 position J
0 8 5 length I
0 8 6 internal Z
6 8 7 tmpBuf Ljava/nio/ByteBuffer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
index
out
position
length
internal
public int readBytes(java.nio.channels.GatheringByteChannel, int);
descriptor: (Ljava/nio/channels/GatheringByteChannel;I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 2
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.checkReadableBytes:(I)V
1: aload 0
aload 0
getfield io.netty.buffer.UnpooledDirectByteBuf.readerIndex:I
aload 1
iload 2
iconst_1
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.getBytes:(ILjava/nio/channels/GatheringByteChannel;IZ)I
istore 3
start local 3 2: aload 0
dup
getfield io.netty.buffer.UnpooledDirectByteBuf.readerIndex:I
iload 3
iadd
putfield io.netty.buffer.UnpooledDirectByteBuf.readerIndex:I
3: iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 4 1 out Ljava/nio/channels/GatheringByteChannel;
0 4 2 length I
2 4 3 readBytes I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
length
public int readBytes(java.nio.channels.FileChannel, long, int);
descriptor: (Ljava/nio/channels/FileChannel;JI)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 0
iload 4
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.checkReadableBytes:(I)V
1: aload 0
aload 0
getfield io.netty.buffer.UnpooledDirectByteBuf.readerIndex:I
aload 1
lload 2
iload 4
iconst_1
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.getBytes:(ILjava/nio/channels/FileChannel;JIZ)I
istore 5
start local 5 2: aload 0
dup
getfield io.netty.buffer.UnpooledDirectByteBuf.readerIndex:I
iload 5
iadd
putfield io.netty.buffer.UnpooledDirectByteBuf.readerIndex:I
3: iload 5
ireturn
end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 4 1 out Ljava/nio/channels/FileChannel;
0 4 2 position J
0 4 4 length I
2 4 5 readBytes I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
position
length
public int setBytes(int, java.io.InputStream, int);
descriptor: (ILjava/io/InputStream;I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.ensureAccessible:()V
1: aload 0
getfield io.netty.buffer.UnpooledDirectByteBuf.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.hasArray:()Z
ifeq 3
2: aload 2
aload 0
getfield io.netty.buffer.UnpooledDirectByteBuf.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.array:()[B
aload 0
getfield io.netty.buffer.UnpooledDirectByteBuf.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
iload 1
iadd
iload 3
invokevirtual java.io.InputStream.read:([BII)I
ireturn
3: StackMap locals:
StackMap stack:
iload 3
newarray 8
astore 4
start local 4 4: aload 2
aload 4
invokevirtual java.io.InputStream.read:([B)I
istore 5
start local 5 5: iload 5
ifgt 7
6: iload 5
ireturn
7: StackMap locals: byte[] int
StackMap stack:
aload 0
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.internalNioBuffer:()Ljava/nio/ByteBuffer;
astore 6
start local 6 8: aload 6
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
iload 1
invokevirtual java.nio.Buffer.position:(I)Ljava/nio/Buffer;
pop
9: aload 6
aload 4
iconst_0
iload 5
invokevirtual java.nio.ByteBuffer.put:([BII)Ljava/nio/ByteBuffer;
pop
10: iload 5
ireturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 11 1 index I
0 11 2 in Ljava/io/InputStream;
0 11 3 length I
4 11 4 tmp [B
5 11 5 readBytes I
8 11 6 tmpBuf Ljava/nio/ByteBuffer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
index
in
length
public int setBytes(int, java.nio.channels.ScatteringByteChannel, int);
descriptor: (ILjava/nio/channels/ScatteringByteChannel;I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.ensureAccessible:()V
1: aload 0
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.internalNioBuffer:()Ljava/nio/ByteBuffer;
astore 4
start local 4 2: aload 4
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
iload 1
invokevirtual java.nio.Buffer.position:(I)Ljava/nio/Buffer;
iload 1
iload 3
iadd
invokevirtual java.nio.Buffer.limit:(I)Ljava/nio/Buffer;
pop
3: aload 2
aload 0
getfield io.netty.buffer.UnpooledDirectByteBuf.tmpNioBuf:Ljava/nio/ByteBuffer;
invokeinterface java.nio.channels.ScatteringByteChannel.read:(Ljava/nio/ByteBuffer;)I
4: ireturn
5: StackMap locals: io.netty.buffer.UnpooledDirectByteBuf int java.nio.channels.ScatteringByteChannel int java.nio.ByteBuffer
StackMap stack: java.nio.channels.ClosedChannelException
pop
6: iconst_m1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 7 1 index I
0 7 2 in Ljava/nio/channels/ScatteringByteChannel;
0 7 3 length I
2 7 4 tmpBuf Ljava/nio/ByteBuffer;
Exception table:
from to target type
3 4 5 Class java.nio.channels.ClosedChannelException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
index
in
length
public int setBytes(int, java.nio.channels.FileChannel, long, int);
descriptor: (ILjava/nio/channels/FileChannel;JI)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 5 0: aload 0
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.ensureAccessible:()V
1: aload 0
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.internalNioBuffer:()Ljava/nio/ByteBuffer;
astore 6
start local 6 2: aload 6
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
iload 1
invokevirtual java.nio.Buffer.position:(I)Ljava/nio/Buffer;
iload 1
iload 5
iadd
invokevirtual java.nio.Buffer.limit:(I)Ljava/nio/Buffer;
pop
3: aload 2
aload 0
getfield io.netty.buffer.UnpooledDirectByteBuf.tmpNioBuf:Ljava/nio/ByteBuffer;
lload 3
invokevirtual java.nio.channels.FileChannel.read:(Ljava/nio/ByteBuffer;J)I
4: ireturn
5: StackMap locals: io.netty.buffer.UnpooledDirectByteBuf int java.nio.channels.FileChannel long int java.nio.ByteBuffer
StackMap stack: java.nio.channels.ClosedChannelException
pop
6: iconst_m1
ireturn
end local 6 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 7 1 index I
0 7 2 in Ljava/nio/channels/FileChannel;
0 7 3 position J
0 7 5 length I
2 7 6 tmpBuf Ljava/nio/ByteBuffer;
Exception table:
from to target type
3 4 5 Class java.nio.channels.ClosedChannelException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
index
in
position
length
public int nioBufferCount();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
public java.nio.ByteBuffer[] nioBuffers(int, int);
descriptor: (II)[Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iconst_1
anewarray java.nio.ByteBuffer
dup
iconst_0
aload 0
iload 1
iload 2
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.nioBuffer:(II)Ljava/nio/ByteBuffer;
aastore
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 1 1 index I
0 1 2 length I
MethodParameters:
Name Flags
index
length
public io.netty.buffer.ByteBuf copy(int, int);
descriptor: (II)Lio/netty/buffer/ByteBuf;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.ensureAccessible:()V
1: aload 0
getfield io.netty.buffer.UnpooledDirectByteBuf.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.duplicate:()Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
iload 1
invokevirtual java.nio.Buffer.position:(I)Ljava/nio/Buffer;
iload 1
iload 2
iadd
invokevirtual java.nio.Buffer.limit:(I)Ljava/nio/Buffer;
checkcast java.nio.ByteBuffer
astore 3
start local 3 2: goto 5
end local 3 StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
3: pop
4: new java.lang.IndexOutOfBoundsException
dup
new java.lang.StringBuilder
dup
ldc "Too many bytes to read - Need "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
iload 2
iadd
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
athrow
start local 3 5: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 0
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.alloc:()Lio/netty/buffer/ByteBufAllocator;
iload 2
aload 0
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.maxCapacity:()I
invokeinterface io.netty.buffer.ByteBufAllocator.directBuffer:(II)Lio/netty/buffer/ByteBuf;
aload 3
invokevirtual io.netty.buffer.ByteBuf.writeBytes:(Ljava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 6 1 index I
0 6 2 length I
2 3 3 src Ljava/nio/ByteBuffer;
5 6 3 src Ljava/nio/ByteBuffer;
Exception table:
from to target type
1 2 3 Class java.lang.IllegalArgumentException
MethodParameters:
Name Flags
index
length
public java.nio.ByteBuffer internalNioBuffer(int, int);
descriptor: (II)Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
iload 2
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.checkIndex:(II)V
1: aload 0
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.internalNioBuffer:()Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
iload 1
invokevirtual java.nio.Buffer.position:(I)Ljava/nio/Buffer;
iload 1
iload 2
iadd
invokevirtual java.nio.Buffer.limit:(I)Ljava/nio/Buffer;
checkcast java.nio.ByteBuffer
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 2 1 index I
0 2 2 length I
MethodParameters:
Name Flags
index
length
private java.nio.ByteBuffer internalNioBuffer();
descriptor: ()Ljava/nio/ByteBuffer;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield io.netty.buffer.UnpooledDirectByteBuf.tmpNioBuf:Ljava/nio/ByteBuffer;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: aload 0
aload 0
getfield io.netty.buffer.UnpooledDirectByteBuf.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.duplicate:()Ljava/nio/ByteBuffer;
dup
astore 1
putfield io.netty.buffer.UnpooledDirectByteBuf.tmpNioBuf:Ljava/nio/ByteBuffer;
3: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
1 4 1 tmpNioBuf Ljava/nio/ByteBuffer;
public java.nio.ByteBuffer nioBuffer(int, int);
descriptor: (II)Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
iload 2
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.checkIndex:(II)V
1: aload 0
getfield io.netty.buffer.UnpooledDirectByteBuf.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.duplicate:()Ljava/nio/ByteBuffer;
iload 1
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
iload 1
iload 2
iadd
invokevirtual java.nio.Buffer.limit:(I)Ljava/nio/Buffer;
checkcast java.nio.ByteBuffer
invokevirtual java.nio.ByteBuffer.slice:()Ljava/nio/ByteBuffer;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
0 2 1 index I
0 2 2 length I
MethodParameters:
Name Flags
index
length
protected void deallocate();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield io.netty.buffer.UnpooledDirectByteBuf.buffer:Ljava/nio/ByteBuffer;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: return
3: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 0
aconst_null
putfield io.netty.buffer.UnpooledDirectByteBuf.buffer:Ljava/nio/ByteBuffer;
4: aload 0
getfield io.netty.buffer.UnpooledDirectByteBuf.doNotFree:Z
ifne 6
5: aload 0
aload 1
invokevirtual io.netty.buffer.UnpooledDirectByteBuf.freeDirect:(Ljava/nio/ByteBuffer;)V
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
1 7 1 buffer Ljava/nio/ByteBuffer;
public io.netty.buffer.ByteBuf unwrap();
descriptor: ()Lio/netty/buffer/ByteBuf;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/buffer/UnpooledDirectByteBuf;
}
SourceFile: "UnpooledDirectByteBuf.java"