public class io.netty.buffer.UnpooledUnsafeDirectByteBuf extends io.netty.buffer.AbstractReferenceCountedByteBuf
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.netty.buffer.UnpooledUnsafeDirectByteBuf
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 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
java.nio.ByteBuffer buffer;
descriptor: Ljava/nio/ByteBuffer;
flags: (0x0000)
long memoryAddress;
descriptor: J
flags: (0x0000)
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.UnpooledUnsafeDirectByteBuf 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.UnpooledUnsafeDirectByteBuf.alloc:Lio/netty/buffer/ByteBufAllocator;
12: aload 0
aload 0
iload 2
invokevirtual io.netty.buffer.UnpooledUnsafeDirectByteBuf.allocateDirect:(I)Ljava/nio/ByteBuffer;
iconst_0
invokevirtual io.netty.buffer.UnpooledUnsafeDirectByteBuf.setByteBuffer:(Ljava/nio/ByteBuffer;Z)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/UnpooledUnsafeDirectByteBuf;
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=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
invokevirtual java.nio.ByteBuffer.slice:()Ljava/nio/ByteBuffer;
iload 3
iconst_0
invokespecial io.netty.buffer.UnpooledUnsafeDirectByteBuf.<init>:(Lio/netty/buffer/ByteBufAllocator;Ljava/nio/ByteBuffer;IZ)V
1: return
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/UnpooledUnsafeDirectByteBuf;
0 2 1 alloc Lio/netty/buffer/ByteBufAllocator;
0 2 2 initialBuffer Ljava/nio/ByteBuffer;
0 2 3 maxCapacity I
MethodParameters:
Name Flags
alloc
initialBuffer
maxCapacity
void <init>(io.netty.buffer.ByteBufAllocator, java.nio.ByteBuffer, int, boolean);
descriptor: (Lio/netty/buffer/ByteBufAllocator;Ljava/nio/ByteBuffer;IZ)V
flags: (0x0000)
Code:
stack=7, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 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.UnpooledUnsafeDirectByteBuf io.netty.buffer.ByteBufAllocator java.nio.ByteBuffer int 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 5
start local 5 10: iload 5
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 5
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.UnpooledUnsafeDirectByteBuf.alloc:Lio/netty/buffer/ByteBufAllocator;
15: aload 0
iload 4
ifeq 16
iconst_0
goto 17
StackMap locals:
StackMap stack: io.netty.buffer.UnpooledUnsafeDirectByteBuf
16: iconst_1
StackMap locals: io.netty.buffer.UnpooledUnsafeDirectByteBuf io.netty.buffer.ByteBufAllocator java.nio.ByteBuffer int int int
StackMap stack: io.netty.buffer.UnpooledUnsafeDirectByteBuf int
17: putfield io.netty.buffer.UnpooledUnsafeDirectByteBuf.doNotFree:Z
18: aload 0
aload 2
getstatic java.nio.ByteOrder.BIG_ENDIAN:Ljava/nio/ByteOrder;
invokevirtual java.nio.ByteBuffer.order:(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;
iconst_0
invokevirtual io.netty.buffer.UnpooledUnsafeDirectByteBuf.setByteBuffer:(Ljava/nio/ByteBuffer;Z)V
19: aload 0
iload 5
invokevirtual io.netty.buffer.UnpooledUnsafeDirectByteBuf.writerIndex:(I)Lio/netty/buffer/ByteBuf;
pop
20: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lio/netty/buffer/UnpooledUnsafeDirectByteBuf;
0 21 1 alloc Lio/netty/buffer/ByteBufAllocator;
0 21 2 initialBuffer Ljava/nio/ByteBuffer;
0 21 3 maxCapacity I
0 21 4 doFree Z
10 21 5 initialCapacity I
MethodParameters:
Name Flags
alloc
initialBuffer
maxCapacity
doFree
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/UnpooledUnsafeDirectByteBuf;
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/UnpooledUnsafeDirectByteBuf;
0 2 1 buffer Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
buffer
final void setByteBuffer(java.nio.ByteBuffer, boolean);
descriptor: (Ljava/nio/ByteBuffer;Z)V
flags: (0x0010) ACC_FINAL
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 2
ifeq 7
1: aload 0
getfield io.netty.buffer.UnpooledUnsafeDirectByteBuf.buffer:Ljava/nio/ByteBuffer;
astore 3
start local 3 2: aload 3
ifnull 7
3: aload 0
getfield io.netty.buffer.UnpooledUnsafeDirectByteBuf.doNotFree:Z
ifeq 6
4: aload 0
iconst_0
putfield io.netty.buffer.UnpooledUnsafeDirectByteBuf.doNotFree:Z
5: goto 7
6: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 0
aload 3
invokevirtual io.netty.buffer.UnpooledUnsafeDirectByteBuf.freeDirect:(Ljava/nio/ByteBuffer;)V
end local 3 7: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield io.netty.buffer.UnpooledUnsafeDirectByteBuf.buffer:Ljava/nio/ByteBuffer;
8: aload 0
aload 1
invokestatic io.netty.util.internal.PlatformDependent.directBufferAddress:(Ljava/nio/ByteBuffer;)J
putfield io.netty.buffer.UnpooledUnsafeDirectByteBuf.memoryAddress:J
9: aload 0
aconst_null
putfield io.netty.buffer.UnpooledUnsafeDirectByteBuf.tmpNioBuf:Ljava/nio/ByteBuffer;
10: aload 0
aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
putfield io.netty.buffer.UnpooledUnsafeDirectByteBuf.capacity:I
11: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lio/netty/buffer/UnpooledUnsafeDirectByteBuf;
0 12 1 buffer Ljava/nio/ByteBuffer;
0 12 2 tryFree Z
2 7 3 oldBuffer Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
buffer
tryFree
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/UnpooledUnsafeDirectByteBuf;
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.UnpooledUnsafeDirectByteBuf.capacity:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/buffer/UnpooledUnsafeDirectByteBuf;
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.UnpooledUnsafeDirectByteBuf.checkNewCapacity:(I)V
1: aload 0
invokevirtual io.netty.buffer.UnpooledUnsafeDirectByteBuf.readerIndex:()I
istore 2
start local 2 2: aload 0
invokevirtual io.netty.buffer.UnpooledUnsafeDirectByteBuf.writerIndex:()I
istore 3
start local 3 3: aload 0
getfield io.netty.buffer.UnpooledUnsafeDirectByteBuf.capacity:I
istore 4
start local 4 4: iload 1
iload 4
if_icmple 13
5: aload 0
getfield io.netty.buffer.UnpooledUnsafeDirectByteBuf.buffer:Ljava/nio/ByteBuffer;
astore 5
start local 5 6: aload 0
iload 1
invokevirtual io.netty.buffer.UnpooledUnsafeDirectByteBuf.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
iconst_1
invokevirtual io.netty.buffer.UnpooledUnsafeDirectByteBuf.setByteBuffer:(Ljava/nio/ByteBuffer;Z)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.UnpooledUnsafeDirectByteBuf.buffer:Ljava/nio/ByteBuffer;
astore 5
start local 5 15: aload 0
iload 1
invokevirtual io.netty.buffer.UnpooledUnsafeDirectByteBuf.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.UnpooledUnsafeDirectByteBuf.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.UnpooledUnsafeDirectByteBuf.setIndex:(II)Lio/netty/buffer/ByteBuf;
pop
25: StackMap locals:
StackMap stack:
aload 0
aload 6
iconst_1
invokevirtual io.netty.buffer.UnpooledUnsafeDirectByteBuf.setByteBuffer:(Ljava/nio/ByteBuffer;Z)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/UnpooledUnsafeDirectByteBuf;
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.UnpooledUnsafeDirectByteBuf.alloc:Lio/netty/buffer/ByteBufAllocator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/buffer/UnpooledUnsafeDirectByteBuf;
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/UnpooledUnsafeDirectByteBuf;
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/UnpooledUnsafeDirectByteBuf;
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/UnpooledUnsafeDirectByteBuf;
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/UnpooledUnsafeDirectByteBuf;
public boolean hasMemoryAddress();
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/UnpooledUnsafeDirectByteBuf;
public long memoryAddress();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.netty.buffer.UnpooledUnsafeDirectByteBuf.ensureAccessible:()V
1: aload 0
getfield io.netty.buffer.UnpooledUnsafeDirectByteBuf.memoryAddress:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/buffer/UnpooledUnsafeDirectByteBuf;
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
iload 1
invokevirtual io.netty.buffer.UnpooledUnsafeDirectByteBuf.addr:(I)J
invokestatic io.netty.buffer.UnsafeByteBufUtil.getByte:(J)B
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/buffer/UnpooledUnsafeDirectByteBuf;
0 1 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
iload 1
invokevirtual io.netty.buffer.UnpooledUnsafeDirectByteBuf.addr:(I)J
invokestatic io.netty.buffer.UnsafeByteBufUtil.getShort:(J)S
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/buffer/UnpooledUnsafeDirectByteBuf;
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
iload 1
invokevirtual io.netty.buffer.UnpooledUnsafeDirectByteBuf.addr:(I)J
invokestatic io.netty.buffer.UnsafeByteBufUtil.getShortLE:(J)S
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/buffer/UnpooledUnsafeDirectByteBuf;
0 1 1 index I
MethodParameters:
Name Flags
index
protected int _getUnsignedMedium(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
iload 1
invokevirtual io.netty.buffer.UnpooledUnsafeDirectByteBuf.addr:(I)J
invokestatic io.netty.buffer.UnsafeByteBufUtil.getUnsignedMedium:(J)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/buffer/UnpooledUnsafeDirectByteBuf;
0 1 1 index I
MethodParameters:
Name Flags
index
protected int _getUnsignedMediumLE(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
iload 1
invokevirtual io.netty.buffer.UnpooledUnsafeDirectByteBuf.addr:(I)J
invokestatic io.netty.buffer.UnsafeByteBufUtil.getUnsignedMediumLE:(J)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/buffer/UnpooledUnsafeDirectByteBuf;
0 1 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
iload 1
invokevirtual io.netty.buffer.UnpooledUnsafeDirectByteBuf.addr:(I)J
invokestatic io.netty.buffer.UnsafeByteBufUtil.getInt:(J)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/buffer/UnpooledUnsafeDirectByteBuf;
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
iload 1
invokevirtual io.netty.buffer.UnpooledUnsafeDirectByteBuf.addr:(I)J
invokestatic io.netty.buffer.UnsafeByteBufUtil.getIntLE:(J)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/buffer/UnpooledUnsafeDirectByteBuf;
0 1 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
iload 1
invokevirtual io.netty.buffer.UnpooledUnsafeDirectByteBuf.addr:(I)J
invokestatic io.netty.buffer.UnsafeByteBufUtil.getLong:(J)J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/buffer/UnpooledUnsafeDirectByteBuf;
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
iload 1
invokevirtual io.netty.buffer.UnpooledUnsafeDirectByteBuf.addr:(I)J
invokestatic io.netty.buffer.UnsafeByteBufUtil.getLongLE:(J)J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/buffer/UnpooledUnsafeDirectByteBuf;
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=7, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 0
iload 1
invokevirtual io.netty.buffer.UnpooledUnsafeDirectByteBuf.addr:(I)J
iload 1
aload 2
iload 3
iload 4
invokestatic io.netty.buffer.UnsafeByteBufUtil.getBytes:(Lio/netty/buffer/AbstractByteBuf;JILio/netty/buffer/ByteBuf;II)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/UnpooledUnsafeDirectByteBuf;
0 2 1 index I
0 2 2 dst Lio/netty/buffer/ByteBuf;
0 2 3 dstIndex I
0 2 4 length 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=7, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 0
iload 1
invokevirtual io.netty.buffer.UnpooledUnsafeDirectByteBuf.addr:(I)J
iload 1
aload 2
iload 3
iload 4
invokestatic io.netty.buffer.UnsafeByteBufUtil.getBytes:(Lio/netty/buffer/AbstractByteBuf;JI[BII)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/UnpooledUnsafeDirectByteBuf;
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
public io.netty.buffer.ByteBuf getBytes(int, java.nio.ByteBuffer);
descriptor: (ILjava/nio/ByteBuffer;)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
aload 0
iload 1
invokevirtual io.netty.buffer.UnpooledUnsafeDirectByteBuf.addr:(I)J
iload 1
aload 2
invokestatic io.netty.buffer.UnsafeByteBufUtil.getBytes:(Lio/netty/buffer/AbstractByteBuf;JILjava/nio/ByteBuffer;)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/UnpooledUnsafeDirectByteBuf;
0 2 1 index I
0 2 2 dst Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
index
dst
public io.netty.buffer.ByteBuf readBytes(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, 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.UnpooledUnsafeDirectByteBuf.checkReadableBytes:(I)V
2: aload 0
aload 0
getfield io.netty.buffer.UnpooledUnsafeDirectByteBuf.readerIndex:I
aload 1
invokevirtual io.netty.buffer.UnpooledUnsafeDirectByteBuf.getBytes:(ILjava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf;
pop
3: aload 0
dup
getfield io.netty.buffer.UnpooledUnsafeDirectByteBuf.readerIndex:I
iload 2
iadd
putfield io.netty.buffer.UnpooledUnsafeDirectByteBuf.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/UnpooledUnsafeDirectByteBuf;
0 5 1 dst Ljava/nio/ByteBuffer;
1 5 2 length I
MethodParameters:
Name Flags
dst
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
iload 1
invokevirtual io.netty.buffer.UnpooledUnsafeDirectByteBuf.addr:(I)J
iload 2
invokestatic io.netty.buffer.UnsafeByteBufUtil.setByte:(JI)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/buffer/UnpooledUnsafeDirectByteBuf;
0 2 1 index I
0 2 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
iload 1
invokevirtual io.netty.buffer.UnpooledUnsafeDirectByteBuf.addr:(I)J
iload 2
invokestatic io.netty.buffer.UnsafeByteBufUtil.setShort:(JI)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/buffer/UnpooledUnsafeDirectByteBuf;
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
iload 1
invokevirtual io.netty.buffer.UnpooledUnsafeDirectByteBuf.addr:(I)J
iload 2
invokestatic io.netty.buffer.UnsafeByteBufUtil.setShortLE:(JI)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/buffer/UnpooledUnsafeDirectByteBuf;
0 2 1 index I
0 2 2 value I
MethodParameters:
Name Flags
index
value
protected void _setMedium(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
iload 1
invokevirtual io.netty.buffer.UnpooledUnsafeDirectByteBuf.addr:(I)J
iload 2
invokestatic io.netty.buffer.UnsafeByteBufUtil.setMedium:(JI)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/buffer/UnpooledUnsafeDirectByteBuf;
0 2 1 index I
0 2 2 value I
MethodParameters:
Name Flags
index
value
protected void _setMediumLE(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
iload 1
invokevirtual io.netty.buffer.UnpooledUnsafeDirectByteBuf.addr:(I)J
iload 2
invokestatic io.netty.buffer.UnsafeByteBufUtil.setMediumLE:(JI)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/buffer/UnpooledUnsafeDirectByteBuf;
0 2 1 index I
0 2 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
iload 1
invokevirtual io.netty.buffer.UnpooledUnsafeDirectByteBuf.addr:(I)J
iload 2
invokestatic io.netty.buffer.UnsafeByteBufUtil.setInt:(JI)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/buffer/UnpooledUnsafeDirectByteBuf;
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
iload 1
invokevirtual io.netty.buffer.UnpooledUnsafeDirectByteBuf.addr:(I)J
iload 2
invokestatic io.netty.buffer.UnsafeByteBufUtil.setIntLE:(JI)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/buffer/UnpooledUnsafeDirectByteBuf;
0 2 1 index I
0 2 2 value I
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
iload 1
invokevirtual io.netty.buffer.UnpooledUnsafeDirectByteBuf.addr:(I)J
lload 2
invokestatic io.netty.buffer.UnsafeByteBufUtil.setLong:(JJ)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/buffer/UnpooledUnsafeDirectByteBuf;
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
iload 1
invokevirtual io.netty.buffer.UnpooledUnsafeDirectByteBuf.addr:(I)J
lload 2
invokestatic io.netty.buffer.UnsafeByteBufUtil.setLongLE:(JJ)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/buffer/UnpooledUnsafeDirectByteBuf;
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=7, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 0
iload 1
invokevirtual io.netty.buffer.UnpooledUnsafeDirectByteBuf.addr:(I)J
iload 1
aload 2
iload 3
iload 4
invokestatic io.netty.buffer.UnsafeByteBufUtil.setBytes:(Lio/netty/buffer/AbstractByteBuf;JILio/netty/buffer/ByteBuf;II)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/UnpooledUnsafeDirectByteBuf;
0 2 1 index I
0 2 2 src Lio/netty/buffer/ByteBuf;
0 2 3 srcIndex I
0 2 4 length 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=7, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 0
iload 1
invokevirtual io.netty.buffer.UnpooledUnsafeDirectByteBuf.addr:(I)J
iload 1
aload 2
iload 3
iload 4
invokestatic io.netty.buffer.UnsafeByteBufUtil.setBytes:(Lio/netty/buffer/AbstractByteBuf;JI[BII)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/UnpooledUnsafeDirectByteBuf;
0 2 1 index I
0 2 2 src [B
0 2 3 srcIndex I
0 2 4 length I
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=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
iload 1
invokevirtual io.netty.buffer.UnpooledUnsafeDirectByteBuf.addr:(I)J
iload 1
aload 2
invokestatic io.netty.buffer.UnsafeByteBufUtil.setBytes:(Lio/netty/buffer/AbstractByteBuf;JILjava/nio/ByteBuffer;)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/UnpooledUnsafeDirectByteBuf;
0 2 1 index I
0 2 2 src 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=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 0
iload 1
invokevirtual io.netty.buffer.UnpooledUnsafeDirectByteBuf.addr:(I)J
iload 1
aload 2
iload 3
invokestatic io.netty.buffer.UnsafeByteBufUtil.getBytes:(Lio/netty/buffer/AbstractByteBuf;JILjava/io/OutputStream;I)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/UnpooledUnsafeDirectByteBuf;
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
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.UnpooledUnsafeDirectByteBuf.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/UnpooledUnsafeDirectByteBuf;
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.UnpooledUnsafeDirectByteBuf.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.UnpooledUnsafeDirectByteBuf.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.UnpooledUnsafeDirectByteBuf.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/UnpooledUnsafeDirectByteBuf;
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.UnpooledUnsafeDirectByteBuf.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/UnpooledUnsafeDirectByteBuf;
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.UnpooledUnsafeDirectByteBuf.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.UnpooledUnsafeDirectByteBuf.internalNioBuffer:()Ljava/nio/ByteBuffer;
goto 5
StackMap locals:
StackMap stack:
4: aload 0
getfield io.netty.buffer.UnpooledUnsafeDirectByteBuf.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/UnpooledUnsafeDirectByteBuf;
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.UnpooledUnsafeDirectByteBuf.checkReadableBytes:(I)V
1: aload 0
aload 0
getfield io.netty.buffer.UnpooledUnsafeDirectByteBuf.readerIndex:I
aload 1
iload 2
iconst_1
invokevirtual io.netty.buffer.UnpooledUnsafeDirectByteBuf.getBytes:(ILjava/nio/channels/GatheringByteChannel;IZ)I
istore 3
start local 3 2: aload 0
dup
getfield io.netty.buffer.UnpooledUnsafeDirectByteBuf.readerIndex:I
iload 3
iadd
putfield io.netty.buffer.UnpooledUnsafeDirectByteBuf.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/UnpooledUnsafeDirectByteBuf;
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.UnpooledUnsafeDirectByteBuf.checkReadableBytes:(I)V
1: aload 0
aload 0
getfield io.netty.buffer.UnpooledUnsafeDirectByteBuf.readerIndex:I
aload 1
lload 2
iload 4
iconst_1
invokevirtual io.netty.buffer.UnpooledUnsafeDirectByteBuf.getBytes:(ILjava/nio/channels/FileChannel;JIZ)I
istore 5
start local 5 2: aload 0
dup
getfield io.netty.buffer.UnpooledUnsafeDirectByteBuf.readerIndex:I
iload 5
iadd
putfield io.netty.buffer.UnpooledUnsafeDirectByteBuf.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/UnpooledUnsafeDirectByteBuf;
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=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 0
iload 1
invokevirtual io.netty.buffer.UnpooledUnsafeDirectByteBuf.addr:(I)J
iload 1
aload 2
iload 3
invokestatic io.netty.buffer.UnsafeByteBufUtil.setBytes:(Lio/netty/buffer/AbstractByteBuf;JILjava/io/InputStream;I)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/UnpooledUnsafeDirectByteBuf;
0 1 1 index I
0 1 2 in Ljava/io/InputStream;
0 1 3 length I
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.UnpooledUnsafeDirectByteBuf.ensureAccessible:()V
1: aload 0
invokevirtual io.netty.buffer.UnpooledUnsafeDirectByteBuf.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 4
invokeinterface java.nio.channels.ScatteringByteChannel.read:(Ljava/nio/ByteBuffer;)I
4: ireturn
5: StackMap locals: io.netty.buffer.UnpooledUnsafeDirectByteBuf 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/UnpooledUnsafeDirectByteBuf;
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.UnpooledUnsafeDirectByteBuf.ensureAccessible:()V
1: aload 0
invokevirtual io.netty.buffer.UnpooledUnsafeDirectByteBuf.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 6
lload 3
invokevirtual java.nio.channels.FileChannel.read:(Ljava/nio/ByteBuffer;J)I
4: ireturn
5: StackMap locals: io.netty.buffer.UnpooledUnsafeDirectByteBuf 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/UnpooledUnsafeDirectByteBuf;
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/UnpooledUnsafeDirectByteBuf;
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.UnpooledUnsafeDirectByteBuf.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/UnpooledUnsafeDirectByteBuf;
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=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
iload 1
invokevirtual io.netty.buffer.UnpooledUnsafeDirectByteBuf.addr:(I)J
iload 1
iload 2
invokestatic io.netty.buffer.UnsafeByteBufUtil.copy:(Lio/netty/buffer/AbstractByteBuf;JII)Lio/netty/buffer/ByteBuf;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/buffer/UnpooledUnsafeDirectByteBuf;
0 1 1 index I
0 1 2 length I
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.UnpooledUnsafeDirectByteBuf.checkIndex:(II)V
1: aload 0
invokevirtual io.netty.buffer.UnpooledUnsafeDirectByteBuf.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/UnpooledUnsafeDirectByteBuf;
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.UnpooledUnsafeDirectByteBuf.tmpNioBuf:Ljava/nio/ByteBuffer;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: aload 0
aload 0
getfield io.netty.buffer.UnpooledUnsafeDirectByteBuf.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.duplicate:()Ljava/nio/ByteBuffer;
dup
astore 1
putfield io.netty.buffer.UnpooledUnsafeDirectByteBuf.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/UnpooledUnsafeDirectByteBuf;
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.UnpooledUnsafeDirectByteBuf.checkIndex:(II)V
1: aload 0
getfield io.netty.buffer.UnpooledUnsafeDirectByteBuf.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/UnpooledUnsafeDirectByteBuf;
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.UnpooledUnsafeDirectByteBuf.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.UnpooledUnsafeDirectByteBuf.buffer:Ljava/nio/ByteBuffer;
4: aload 0
getfield io.netty.buffer.UnpooledUnsafeDirectByteBuf.doNotFree:Z
ifne 6
5: aload 0
aload 1
invokevirtual io.netty.buffer.UnpooledUnsafeDirectByteBuf.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/UnpooledUnsafeDirectByteBuf;
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/UnpooledUnsafeDirectByteBuf;
long addr(int);
descriptor: (I)J
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.netty.buffer.UnpooledUnsafeDirectByteBuf.memoryAddress:J
iload 1
i2l
ladd
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/buffer/UnpooledUnsafeDirectByteBuf;
0 1 1 index I
MethodParameters:
Name Flags
index
protected io.netty.buffer.SwappedByteBuf newSwappedByteBuf();
descriptor: ()Lio/netty/buffer/SwappedByteBuf;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: invokestatic io.netty.util.internal.PlatformDependent.isUnaligned:()Z
ifeq 2
1: new io.netty.buffer.UnsafeDirectSwappedByteBuf
dup
aload 0
invokespecial io.netty.buffer.UnsafeDirectSwappedByteBuf.<init>:(Lio/netty/buffer/AbstractByteBuf;)V
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokespecial io.netty.buffer.AbstractReferenceCountedByteBuf.newSwappedByteBuf:()Lio/netty/buffer/SwappedByteBuf;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/buffer/UnpooledUnsafeDirectByteBuf;
public io.netty.buffer.ByteBuf setZero(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
iload 1
iload 2
invokevirtual io.netty.buffer.UnpooledUnsafeDirectByteBuf.checkIndex:(II)V
1: aload 0
iload 1
invokevirtual io.netty.buffer.UnpooledUnsafeDirectByteBuf.addr:(I)J
iload 2
invokestatic io.netty.buffer.UnsafeByteBufUtil.setZero:(JI)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/UnpooledUnsafeDirectByteBuf;
0 3 1 index I
0 3 2 length I
MethodParameters:
Name Flags
index
length
public io.netty.buffer.ByteBuf writeZero(int);
descriptor: (I)Lio/netty/buffer/ByteBuf;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual io.netty.buffer.UnpooledUnsafeDirectByteBuf.ensureWritable:(I)Lio/netty/buffer/ByteBuf;
pop
1: aload 0
getfield io.netty.buffer.UnpooledUnsafeDirectByteBuf.writerIndex:I
istore 2
start local 2 2: aload 0
iload 2
invokevirtual io.netty.buffer.UnpooledUnsafeDirectByteBuf.addr:(I)J
iload 1
invokestatic io.netty.buffer.UnsafeByteBufUtil.setZero:(JI)V
3: aload 0
iload 2
iload 1
iadd
putfield io.netty.buffer.UnpooledUnsafeDirectByteBuf.writerIndex: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/UnpooledUnsafeDirectByteBuf;
0 5 1 length I
2 5 2 wIndex I
MethodParameters:
Name Flags
length
}
SourceFile: "UnpooledUnsafeDirectByteBuf.java"