final class io.netty.buffer.PooledDirectByteBuf extends io.netty.buffer.PooledByteBuf<java.nio.ByteBuffer>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.netty.buffer.PooledDirectByteBuf
super_class: io.netty.buffer.PooledByteBuf
{
private static final io.netty.util.Recycler<io.netty.buffer.PooledDirectByteBuf> RECYCLER;
descriptor: Lio/netty/util/Recycler;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Lio/netty/util/Recycler<Lio/netty/buffer/PooledDirectByteBuf;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new io.netty.buffer.PooledDirectByteBuf$1
dup
invokespecial io.netty.buffer.PooledDirectByteBuf$1.<init>:()V
putstatic io.netty.buffer.PooledDirectByteBuf.RECYCLER:Lio/netty/util/Recycler;
1: return
LocalVariableTable:
Start End Slot Name Signature
static io.netty.buffer.PooledDirectByteBuf newInstance(int);
descriptor: (I)Lio/netty/buffer/PooledDirectByteBuf;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: getstatic io.netty.buffer.PooledDirectByteBuf.RECYCLER:Lio/netty/util/Recycler;
invokevirtual io.netty.util.Recycler.get:()Ljava/lang/Object;
checkcast io.netty.buffer.PooledDirectByteBuf
astore 1
start local 1 1: aload 1
iload 0
invokevirtual io.netty.buffer.PooledDirectByteBuf.reuse:(I)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 maxCapacity I
1 3 1 buf Lio/netty/buffer/PooledDirectByteBuf;
MethodParameters:
Name Flags
maxCapacity
private void <init>(io.netty.util.Recycler$Handle<io.netty.buffer.PooledDirectByteBuf>, );
descriptor: (Lio/netty/util/Recycler$Handle;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
invokespecial io.netty.buffer.PooledByteBuf.<init>:(Lio/netty/util/Recycler$Handle;I)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/PooledDirectByteBuf;
0 2 1 recyclerHandle Lio/netty/util/Recycler$Handle<Lio/netty/buffer/PooledDirectByteBuf;>;
0 2 2 maxCapacity I
Signature: (Lio/netty/util/Recycler$Handle<Lio/netty/buffer/PooledDirectByteBuf;>;I)V
MethodParameters:
Name Flags
recyclerHandle
maxCapacity
protected java.nio.ByteBuffer newInternalNioBuffer(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.nio.ByteBuffer.duplicate:()Ljava/nio/ByteBuffer;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/buffer/PooledDirectByteBuf;
0 1 1 memory Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
memory
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/PooledDirectByteBuf;
protected byte _getByte(int);
descriptor: (I)B
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.netty.buffer.PooledDirectByteBuf.memory:Ljava/lang/Object;
checkcast java.nio.ByteBuffer
aload 0
iload 1
invokevirtual io.netty.buffer.PooledDirectByteBuf.idx:(I)I
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/PooledDirectByteBuf;
0 1 1 index I
MethodParameters:
Name Flags
index
protected short _getShort(int);
descriptor: (I)S
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.netty.buffer.PooledDirectByteBuf.memory:Ljava/lang/Object;
checkcast java.nio.ByteBuffer
aload 0
iload 1
invokevirtual io.netty.buffer.PooledDirectByteBuf.idx:(I)I
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/PooledDirectByteBuf;
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.PooledDirectByteBuf._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/PooledDirectByteBuf;
0 1 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.PooledDirectByteBuf.idx:(I)I
istore 1
1: aload 0
getfield io.netty.buffer.PooledDirectByteBuf.memory:Ljava/lang/Object;
checkcast java.nio.ByteBuffer
iload 1
invokevirtual java.nio.ByteBuffer.get:(I)B
sipush 255
iand
bipush 16
ishl
2: aload 0
getfield io.netty.buffer.PooledDirectByteBuf.memory:Ljava/lang/Object;
checkcast java.nio.ByteBuffer
iload 1
iconst_1
iadd
invokevirtual java.nio.ByteBuffer.get:(I)B
sipush 255
iand
bipush 8
ishl
3: ior
4: aload 0
getfield io.netty.buffer.PooledDirectByteBuf.memory:Ljava/lang/Object;
checkcast java.nio.ByteBuffer
iload 1
iconst_2
iadd
invokevirtual java.nio.ByteBuffer.get:(I)B
sipush 255
iand
5: ior
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/netty/buffer/PooledDirectByteBuf;
0 6 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.PooledDirectByteBuf.idx:(I)I
istore 1
1: aload 0
getfield io.netty.buffer.PooledDirectByteBuf.memory:Ljava/lang/Object;
checkcast java.nio.ByteBuffer
iload 1
invokevirtual java.nio.ByteBuffer.get:(I)B
sipush 255
iand
2: aload 0
getfield io.netty.buffer.PooledDirectByteBuf.memory:Ljava/lang/Object;
checkcast java.nio.ByteBuffer
iload 1
iconst_1
iadd
invokevirtual java.nio.ByteBuffer.get:(I)B
sipush 255
iand
bipush 8
ishl
3: ior
4: aload 0
getfield io.netty.buffer.PooledDirectByteBuf.memory:Ljava/lang/Object;
checkcast java.nio.ByteBuffer
iload 1
iconst_2
iadd
invokevirtual java.nio.ByteBuffer.get:(I)B
sipush 255
iand
bipush 16
ishl
5: ior
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/netty/buffer/PooledDirectByteBuf;
0 6 1 index I
MethodParameters:
Name Flags
index
protected int _getInt(int);
descriptor: (I)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.netty.buffer.PooledDirectByteBuf.memory:Ljava/lang/Object;
checkcast java.nio.ByteBuffer
aload 0
iload 1
invokevirtual io.netty.buffer.PooledDirectByteBuf.idx:(I)I
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/PooledDirectByteBuf;
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.PooledDirectByteBuf._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/PooledDirectByteBuf;
0 1 1 index I
MethodParameters:
Name Flags
index
protected long _getLong(int);
descriptor: (I)J
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.netty.buffer.PooledDirectByteBuf.memory:Ljava/lang/Object;
checkcast java.nio.ByteBuffer
aload 0
iload 1
invokevirtual io.netty.buffer.PooledDirectByteBuf.idx:(I)I
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/PooledDirectByteBuf;
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.PooledDirectByteBuf._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/PooledDirectByteBuf;
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.PooledDirectByteBuf.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.PooledDirectByteBuf.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.PooledDirectByteBuf 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.PooledDirectByteBuf.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.PooledDirectByteBuf 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/PooledDirectByteBuf;
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.PooledDirectByteBuf.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/PooledDirectByteBuf;
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.PooledDirectByteBuf.checkDstIndex:(IIII)V
1: iload 5
ifeq 4
2: aload 0
invokevirtual io.netty.buffer.PooledDirectByteBuf.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.PooledDirectByteBuf.memory:Ljava/lang/Object;
checkcast java.nio.ByteBuffer
invokevirtual java.nio.ByteBuffer.duplicate:()Ljava/nio/ByteBuffer;
astore 6
start local 6 5: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 0
iload 1
invokevirtual io.netty.buffer.PooledDirectByteBuf.idx:(I)I
istore 1
6: 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
7: aload 6
aload 2
iload 3
iload 4
invokevirtual java.nio.ByteBuffer.get:([BII)Ljava/nio/ByteBuffer;
pop
8: 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 9 0 this Lio/netty/buffer/PooledDirectByteBuf;
0 9 1 index I
0 9 2 dst [B
0 9 3 dstIndex I
0 9 4 length I
0 9 5 internal Z
3 4 6 tmpBuf Ljava/nio/ByteBuffer;
5 9 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.PooledDirectByteBuf.checkReadableBytes:(I)V
1: aload 0
aload 0
getfield io.netty.buffer.PooledDirectByteBuf.readerIndex:I
aload 1
iload 2
iload 3
iconst_1
invokevirtual io.netty.buffer.PooledDirectByteBuf.getBytes:(I[BIIZ)V
2: aload 0
dup
getfield io.netty.buffer.PooledDirectByteBuf.readerIndex:I
iload 3
iadd
putfield io.netty.buffer.PooledDirectByteBuf.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/PooledDirectByteBuf;
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.PooledDirectByteBuf.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/PooledDirectByteBuf;
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.PooledDirectByteBuf.checkIndex:(II)V
1: iload 3
ifeq 4
2: aload 0
invokevirtual io.netty.buffer.PooledDirectByteBuf.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.PooledDirectByteBuf.memory:Ljava/lang/Object;
checkcast java.nio.ByteBuffer
invokevirtual java.nio.ByteBuffer.duplicate:()Ljava/nio/ByteBuffer;
astore 4
start local 4 5: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 0
iload 1
invokevirtual io.netty.buffer.PooledDirectByteBuf.idx:(I)I
istore 1
6: 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
7: aload 2
aload 4
invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
pop
8: return
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/PooledDirectByteBuf;
0 9 1 index I
0 9 2 dst Ljava/nio/ByteBuffer;
0 9 3 internal Z
3 4 4 tmpBuf Ljava/nio/ByteBuffer;
5 9 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.PooledDirectByteBuf.checkReadableBytes:(I)V
2: aload 0
aload 0
getfield io.netty.buffer.PooledDirectByteBuf.readerIndex:I
aload 1
iconst_1
invokevirtual io.netty.buffer.PooledDirectByteBuf.getBytes:(ILjava/nio/ByteBuffer;Z)V
3: aload 0
dup
getfield io.netty.buffer.PooledDirectByteBuf.readerIndex:I
iload 2
iadd
putfield io.netty.buffer.PooledDirectByteBuf.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/PooledDirectByteBuf;
0 5 1 dst Ljava/nio/ByteBuffer;
1 5 2 length I
MethodParameters:
Name Flags
dst
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.PooledDirectByteBuf.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/PooledDirectByteBuf;
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
iload 1
iload 3
invokevirtual io.netty.buffer.PooledDirectByteBuf.checkIndex:(II)V
1: iload 3
ifne 3
2: return
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.netty.buffer.PooledDirectByteBuf.alloc:()Lio/netty/buffer/ByteBufAllocator;
iload 4
ifeq 4
aload 0
invokevirtual io.netty.buffer.PooledDirectByteBuf.internalNioBuffer:()Ljava/nio/ByteBuffer;
goto 5
StackMap locals:
StackMap stack: io.netty.buffer.ByteBufAllocator
4: aload 0
getfield io.netty.buffer.PooledDirectByteBuf.memory:Ljava/lang/Object;
checkcast java.nio.ByteBuffer
invokevirtual java.nio.ByteBuffer.duplicate:()Ljava/nio/ByteBuffer;
StackMap locals: io.netty.buffer.PooledDirectByteBuf int java.io.OutputStream int int
StackMap stack: io.netty.buffer.ByteBufAllocator java.nio.ByteBuffer
5: aload 0
iload 1
invokevirtual io.netty.buffer.PooledDirectByteBuf.idx:(I)I
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/PooledDirectByteBuf;
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.PooledDirectByteBuf.checkReadableBytes:(I)V
1: aload 0
aload 0
getfield io.netty.buffer.PooledDirectByteBuf.readerIndex:I
aload 1
iload 2
iconst_1
invokevirtual io.netty.buffer.PooledDirectByteBuf.getBytes:(ILjava/io/OutputStream;IZ)V
2: aload 0
dup
getfield io.netty.buffer.PooledDirectByteBuf.readerIndex:I
iload 2
iadd
putfield io.netty.buffer.PooledDirectByteBuf.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/PooledDirectByteBuf;
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.PooledDirectByteBuf.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/PooledDirectByteBuf;
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
iload 1
iload 3
invokevirtual io.netty.buffer.PooledDirectByteBuf.checkIndex:(II)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.PooledDirectByteBuf.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.PooledDirectByteBuf.memory:Ljava/lang/Object;
checkcast java.nio.ByteBuffer
invokevirtual java.nio.ByteBuffer.duplicate:()Ljava/nio/ByteBuffer;
astore 5
start local 5 7: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 0
iload 1
invokevirtual io.netty.buffer.PooledDirectByteBuf.idx:(I)I
istore 1
8: 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
9: 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 10 0 this Lio/netty/buffer/PooledDirectByteBuf;
0 10 1 index I
0 10 2 out Ljava/nio/channels/GatheringByteChannel;
0 10 3 length I
0 10 4 internal Z
5 6 5 tmpBuf Ljava/nio/ByteBuffer;
7 10 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.PooledDirectByteBuf.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/PooledDirectByteBuf;
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
iload 1
iload 5
invokevirtual io.netty.buffer.PooledDirectByteBuf.checkIndex:(II)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.PooledDirectByteBuf.internalNioBuffer:()Ljava/nio/ByteBuffer;
goto 5
StackMap locals:
StackMap stack:
4: aload 0
getfield io.netty.buffer.PooledDirectByteBuf.memory:Ljava/lang/Object;
checkcast java.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 0
iload 1
invokevirtual io.netty.buffer.PooledDirectByteBuf.idx:(I)I
istore 1
7: 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
8: 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 9 0 this Lio/netty/buffer/PooledDirectByteBuf;
0 9 1 index I
0 9 2 out Ljava/nio/channels/FileChannel;
0 9 3 position J
0 9 5 length I
0 9 6 internal Z
6 9 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.PooledDirectByteBuf.checkReadableBytes:(I)V
1: aload 0
aload 0
getfield io.netty.buffer.PooledDirectByteBuf.readerIndex:I
aload 1
iload 2
iconst_1
invokevirtual io.netty.buffer.PooledDirectByteBuf.getBytes:(ILjava/nio/channels/GatheringByteChannel;IZ)I
istore 3
start local 3 2: aload 0
dup
getfield io.netty.buffer.PooledDirectByteBuf.readerIndex:I
iload 3
iadd
putfield io.netty.buffer.PooledDirectByteBuf.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/PooledDirectByteBuf;
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.PooledDirectByteBuf.checkReadableBytes:(I)V
1: aload 0
aload 0
getfield io.netty.buffer.PooledDirectByteBuf.readerIndex:I
aload 1
lload 2
iload 4
iconst_1
invokevirtual io.netty.buffer.PooledDirectByteBuf.getBytes:(ILjava/nio/channels/FileChannel;JIZ)I
istore 5
start local 5 2: aload 0
dup
getfield io.netty.buffer.PooledDirectByteBuf.readerIndex:I
iload 5
iadd
putfield io.netty.buffer.PooledDirectByteBuf.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/PooledDirectByteBuf;
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
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.PooledDirectByteBuf.memory:Ljava/lang/Object;
checkcast java.nio.ByteBuffer
aload 0
iload 1
invokevirtual io.netty.buffer.PooledDirectByteBuf.idx:(I)I
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/PooledDirectByteBuf;
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
getfield io.netty.buffer.PooledDirectByteBuf.memory:Ljava/lang/Object;
checkcast java.nio.ByteBuffer
aload 0
iload 1
invokevirtual io.netty.buffer.PooledDirectByteBuf.idx:(I)I
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/PooledDirectByteBuf;
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
iload 2
i2s
invokestatic io.netty.buffer.ByteBufUtil.swapShort:(S)S
invokevirtual io.netty.buffer.PooledDirectByteBuf._setShort:(II)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/PooledDirectByteBuf;
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=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
invokevirtual io.netty.buffer.PooledDirectByteBuf.idx:(I)I
istore 1
1: aload 0
getfield io.netty.buffer.PooledDirectByteBuf.memory:Ljava/lang/Object;
checkcast java.nio.ByteBuffer
iload 1
iload 2
bipush 16
iushr
i2b
invokevirtual java.nio.ByteBuffer.put:(IB)Ljava/nio/ByteBuffer;
pop
2: aload 0
getfield io.netty.buffer.PooledDirectByteBuf.memory:Ljava/lang/Object;
checkcast java.nio.ByteBuffer
iload 1
iconst_1
iadd
iload 2
bipush 8
iushr
i2b
invokevirtual java.nio.ByteBuffer.put:(IB)Ljava/nio/ByteBuffer;
pop
3: aload 0
getfield io.netty.buffer.PooledDirectByteBuf.memory:Ljava/lang/Object;
checkcast java.nio.ByteBuffer
iload 1
iconst_2
iadd
iload 2
i2b
invokevirtual java.nio.ByteBuffer.put:(IB)Ljava/nio/ByteBuffer;
pop
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/netty/buffer/PooledDirectByteBuf;
0 5 1 index I
0 5 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
invokevirtual io.netty.buffer.PooledDirectByteBuf.idx:(I)I
istore 1
1: aload 0
getfield io.netty.buffer.PooledDirectByteBuf.memory:Ljava/lang/Object;
checkcast java.nio.ByteBuffer
iload 1
iload 2
i2b
invokevirtual java.nio.ByteBuffer.put:(IB)Ljava/nio/ByteBuffer;
pop
2: aload 0
getfield io.netty.buffer.PooledDirectByteBuf.memory:Ljava/lang/Object;
checkcast java.nio.ByteBuffer
iload 1
iconst_1
iadd
iload 2
bipush 8
iushr
i2b
invokevirtual java.nio.ByteBuffer.put:(IB)Ljava/nio/ByteBuffer;
pop
3: aload 0
getfield io.netty.buffer.PooledDirectByteBuf.memory:Ljava/lang/Object;
checkcast java.nio.ByteBuffer
iload 1
iconst_2
iadd
iload 2
bipush 16
iushr
i2b
invokevirtual java.nio.ByteBuffer.put:(IB)Ljava/nio/ByteBuffer;
pop
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/netty/buffer/PooledDirectByteBuf;
0 5 1 index I
0 5 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.PooledDirectByteBuf.memory:Ljava/lang/Object;
checkcast java.nio.ByteBuffer
aload 0
iload 1
invokevirtual io.netty.buffer.PooledDirectByteBuf.idx:(I)I
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/PooledDirectByteBuf;
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
iload 2
invokestatic io.netty.buffer.ByteBufUtil.swapInt:(I)I
invokevirtual io.netty.buffer.PooledDirectByteBuf._setInt:(II)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/PooledDirectByteBuf;
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
getfield io.netty.buffer.PooledDirectByteBuf.memory:Ljava/lang/Object;
checkcast java.nio.ByteBuffer
aload 0
iload 1
invokevirtual io.netty.buffer.PooledDirectByteBuf.idx:(I)I
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/PooledDirectByteBuf;
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
lload 2
invokestatic io.netty.buffer.ByteBufUtil.swapLong:(J)J
invokevirtual io.netty.buffer.PooledDirectByteBuf._setLong:(IJ)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/PooledDirectByteBuf;
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.PooledDirectByteBuf.checkSrcIndex:(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.PooledDirectByteBuf.setBytes:(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.PooledDirectByteBuf 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.PooledDirectByteBuf.setBytes:(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.PooledDirectByteBuf 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
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/PooledDirectByteBuf;
0 15 1 index I
0 15 2 src Lio/netty/buffer/ByteBuf;
0 15 3 srcIndex I
0 15 4 length I
7 10 5 bb Ljava/nio/ByteBuffer;
8 10 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.PooledDirectByteBuf.checkSrcIndex:(IIII)V
1: aload 0
invokevirtual io.netty.buffer.PooledDirectByteBuf.internalNioBuffer:()Ljava/nio/ByteBuffer;
astore 5
start local 5 2: aload 0
iload 1
invokevirtual io.netty.buffer.PooledDirectByteBuf.idx:(I)I
istore 1
3: 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
4: aload 5
aload 2
iload 3
iload 4
invokevirtual java.nio.ByteBuffer.put:([BII)Ljava/nio/ByteBuffer;
pop
5: 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 6 0 this Lio/netty/buffer/PooledDirectByteBuf;
0 6 1 index I
0 6 2 src [B
0 6 3 srcIndex I
0 6 4 length I
2 6 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
iload 1
aload 2
invokevirtual java.nio.ByteBuffer.remaining:()I
invokevirtual io.netty.buffer.PooledDirectByteBuf.checkIndex:(II)V
1: aload 0
invokevirtual io.netty.buffer.PooledDirectByteBuf.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 0
iload 1
invokevirtual io.netty.buffer.PooledDirectByteBuf.idx:(I)I
istore 1
5: 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
6: aload 3
aload 2
invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
pop
7: aload 0
areturn
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/PooledDirectByteBuf;
0 8 1 index I
0 8 2 src Ljava/nio/ByteBuffer;
2 8 3 tmpBuf Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
index
src
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
iload 1
iload 3
invokevirtual io.netty.buffer.PooledDirectByteBuf.checkIndex:(II)V
1: iload 3
newarray 8
astore 4
start local 4 2: aload 2
aload 4
invokevirtual java.io.InputStream.read:([B)I
istore 5
start local 5 3: iload 5
ifgt 5
4: iload 5
ireturn
5: StackMap locals: byte[] int
StackMap stack:
aload 0
invokevirtual io.netty.buffer.PooledDirectByteBuf.internalNioBuffer:()Ljava/nio/ByteBuffer;
astore 6
start local 6 6: aload 6
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/Buffer;
aload 0
iload 1
invokevirtual io.netty.buffer.PooledDirectByteBuf.idx:(I)I
invokevirtual java.nio.Buffer.position:(I)Ljava/nio/Buffer;
pop
7: aload 6
aload 4
iconst_0
iload 5
invokevirtual java.nio.ByteBuffer.put:([BII)Ljava/nio/ByteBuffer;
pop
8: 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 9 0 this Lio/netty/buffer/PooledDirectByteBuf;
0 9 1 index I
0 9 2 in Ljava/io/InputStream;
0 9 3 length I
2 9 4 tmp [B
3 9 5 readBytes I
6 9 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
iload 1
iload 3
invokevirtual io.netty.buffer.PooledDirectByteBuf.checkIndex:(II)V
1: aload 0
invokevirtual io.netty.buffer.PooledDirectByteBuf.internalNioBuffer:()Ljava/nio/ByteBuffer;
astore 4
start local 4 2: aload 0
iload 1
invokevirtual io.netty.buffer.PooledDirectByteBuf.idx:(I)I
istore 1
3: 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
4: aload 2
aload 4
invokeinterface java.nio.channels.ScatteringByteChannel.read:(Ljava/nio/ByteBuffer;)I
5: ireturn
6: StackMap locals: io.netty.buffer.PooledDirectByteBuf int java.nio.channels.ScatteringByteChannel int java.nio.ByteBuffer
StackMap stack: java.nio.channels.ClosedChannelException
pop
7: iconst_m1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/netty/buffer/PooledDirectByteBuf;
0 8 1 index I
0 8 2 in Ljava/nio/channels/ScatteringByteChannel;
0 8 3 length I
2 8 4 tmpBuf Ljava/nio/ByteBuffer;
Exception table:
from to target type
4 5 6 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
iload 1
iload 5
invokevirtual io.netty.buffer.PooledDirectByteBuf.checkIndex:(II)V
1: aload 0
invokevirtual io.netty.buffer.PooledDirectByteBuf.internalNioBuffer:()Ljava/nio/ByteBuffer;
astore 6
start local 6 2: aload 0
iload 1
invokevirtual io.netty.buffer.PooledDirectByteBuf.idx:(I)I
istore 1
3: 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
4: aload 2
aload 6
lload 3
invokevirtual java.nio.channels.FileChannel.read:(Ljava/nio/ByteBuffer;J)I
5: ireturn
6: StackMap locals: io.netty.buffer.PooledDirectByteBuf int java.nio.channels.FileChannel long int java.nio.ByteBuffer
StackMap stack: java.nio.channels.ClosedChannelException
pop
7: 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 8 0 this Lio/netty/buffer/PooledDirectByteBuf;
0 8 1 index I
0 8 2 in Ljava/nio/channels/FileChannel;
0 8 3 position J
0 8 5 length I
2 8 6 tmpBuf Ljava/nio/ByteBuffer;
Exception table:
from to target type
4 5 6 Class java.nio.channels.ClosedChannelException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
index
in
position
length
public io.netty.buffer.ByteBuf copy(int, int);
descriptor: (II)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
iload 1
iload 2
invokevirtual io.netty.buffer.PooledDirectByteBuf.checkIndex:(II)V
1: aload 0
invokevirtual io.netty.buffer.PooledDirectByteBuf.alloc:()Lio/netty/buffer/ByteBufAllocator;
iload 2
aload 0
invokevirtual io.netty.buffer.PooledDirectByteBuf.maxCapacity:()I
invokeinterface io.netty.buffer.ByteBufAllocator.directBuffer:(II)Lio/netty/buffer/ByteBuf;
astore 3
start local 3 2: aload 3
aload 0
iload 1
iload 2
invokevirtual io.netty.buffer.ByteBuf.writeBytes:(Lio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf;
pop
3: aload 3
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/PooledDirectByteBuf;
0 4 1 index I
0 4 2 length I
2 4 3 copy Lio/netty/buffer/ByteBuf;
MethodParameters:
Name Flags
index
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/PooledDirectByteBuf;
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.PooledDirectByteBuf.checkIndex:(II)V
1: aload 0
iload 1
invokevirtual io.netty.buffer.PooledDirectByteBuf.idx:(I)I
istore 1
2: aload 0
getfield io.netty.buffer.PooledDirectByteBuf.memory:Ljava/lang/Object;
checkcast java.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 3 0 this Lio/netty/buffer/PooledDirectByteBuf;
0 3 1 index I
0 3 2 length I
MethodParameters:
Name Flags
index
length
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.PooledDirectByteBuf.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/PooledDirectByteBuf;
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.PooledDirectByteBuf.checkIndex:(II)V
1: aload 0
iload 1
invokevirtual io.netty.buffer.PooledDirectByteBuf.idx:(I)I
istore 1
2: aload 0
invokevirtual io.netty.buffer.PooledDirectByteBuf.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 3 0 this Lio/netty/buffer/PooledDirectByteBuf;
0 3 1 index I
0 3 2 length I
MethodParameters:
Name Flags
index
length
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/PooledDirectByteBuf;
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/PooledDirectByteBuf;
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/PooledDirectByteBuf;
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/PooledDirectByteBuf;
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/PooledDirectByteBuf;
protected java.nio.ByteBuffer newInternalNioBuffer(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/nio/ByteBuffer;
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.nio.ByteBuffer
invokevirtual io.netty.buffer.PooledDirectByteBuf.newInternalNioBuffer:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lio/netty/buffer/PooledByteBuf<Ljava/nio/ByteBuffer;>;
SourceFile: "PooledDirectByteBuf.java"
NestMembers:
io.netty.buffer.PooledDirectByteBuf$1
InnerClasses:
io.netty.buffer.PooledDirectByteBuf$1
public abstract Handle = io.netty.util.Recycler$Handle of io.netty.util.Recycler