classes.io.netty.buffer.PooledDirectByteBuf.class Maven / Gradle / Ivy
The newest version!
???? 2J
? ?
? ? ?
?
G ?
? ? ?
?
?
?
?
? ?
?
?
? ?
?
?
? ?
? ?
?
? ?
? ?
? ?
?
? ?
? ?
?
?
? ?
?
?
? ?
?
?
?
?
?
?
?
? ?
?
?
?
?
?
?
?
?
?
?
? ?
?
?
? ?
? ?
? ?
? ?
? ? ?
? ?
@
@
E InnerClasses RECYCLER Lio/netty/util/Recycler; Signature ?Lio/netty/util/Recycler; newInstance ((I)Lio/netty/buffer/PooledDirectByteBuf; Code LineNumberTable LocalVariableTable maxCapacity I buf %Lio/netty/buffer/PooledDirectByteBuf; Handle #(Lio/netty/util/Recycler$Handle;I)V this recyclerHandle Lio/netty/util/Recycler$Handle; LocalVariableTypeTable FLio/netty/util/Recycler$Handle; J(Lio/netty/util/Recycler$Handle;I)V newInternalNioBuffer ,(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer; memory Ljava/nio/ByteBuffer; isDirect ()Z _getByte (I)B index _getShort (I)S _getShortLE _getUnsignedMedium (I)I _getUnsignedMediumLE _getInt _getIntLE _getLong (I)J
_getLongLE getBytes 7(ILio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf; bbLen bb dst Lio/netty/buffer/ByteBuf; dstIndex length
StackMapTable (I[BII)Lio/netty/buffer/ByteBuf; [B readBytes ([BII)Lio/netty/buffer/ByteBuf; 1(ILjava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf; 0(Ljava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf; 3(ILjava/io/OutputStream;I)Lio/netty/buffer/ByteBuf; out Ljava/io/OutputStream;
Exceptions (ILjava/io/OutputStream;IZ)V internal Z
? ? 2(Ljava/io/OutputStream;I)Lio/netty/buffer/ByteBuf; _setByte (II)V value _setShort _setShortLE
_setMedium _setMediumLE _setInt _setIntLE _setLong (IJ)V J
_setLongLE setBytes src srcIndex tmpBuf (ILjava/io/InputStream;I)I in Ljava/io/InputStream; tmp copy (II)Lio/netty/buffer/ByteBuf; hasArray array ()[B arrayOffset ()I hasMemoryAddress
memoryAddress ()J )(Ljava/lang/Object;)Ljava/nio/ByteBuffer; J(Lio/netty/util/Recycler$Handle;ILio/netty/buffer/PooledDirectByteBuf$1;)V x0 x1 x2 'Lio/netty/buffer/PooledDirectByteBuf$1; ()V 6Lio/netty/buffer/PooledByteBuf;
SourceFile PooledDirectByteBuf.java V Y I J
#io/netty/buffer/PooledDirectByteBuf b java/nio/ByteBuffer m
g j i j m o m m r q r ? ! ? e ? ? ? ? t ~" ?#$% ? t ? ? u&'
( )* S+,- a. t ?/ ?012 ?3-456 ? ?7, ? ?89 ? ?:! ? ~ ? ? t u-(;<=>?@?ABCDE R ?
F ?GH 'java/lang/UnsupportedOperationException
direct buffer VI V ? ` a %io/netty/buffer/PooledDirectByteBuf$1 io/netty/buffer/PooledByteBuf io/netty/util/Recycler$Handle [Ljava/nio/ByteBuffer; java/io/IOException io/netty/buffer/ByteBufAllocator java/io/OutputStream io/netty/util/Recycler get ()Ljava/lang/Object; reuse (I)V duplicate ()Ljava/nio/ByteBuffer; Ljava/lang/Object; idx getShort io/netty/buffer/ByteBufUtil swapShort (S)S getInt swapInt getLong swapLong (J)J io/netty/buffer/ByteBuf capacity
checkDstIndex (IIII)V nioBufferCount
nioBuffers (II)[Ljava/nio/ByteBuffer; remaining _internalNioBuffer (IIZ)Ljava/nio/ByteBuffer; ([BII)Ljava/nio/ByteBuffer; (III)V readerIndex duplicateInternalNioBuffer (II)Ljava/nio/ByteBuffer; put checkReadableBytes
checkIndex alloc $()Lio/netty/buffer/ByteBufAllocator; internalNioBuffer R(Lio/netty/buffer/ByteBufAllocator;Ljava/nio/ByteBuffer;IILjava/io/OutputStream;)V (IB)Ljava/nio/ByteBuffer; putShort (IS)Ljava/nio/ByteBuffer; putInt putLong (IJ)Ljava/nio/ByteBuffer;
checkSrcIndex clear ()Ljava/nio/Buffer; java/nio/Buffer position (I)Ljava/nio/Buffer; limit threadLocalTempArray (I)[B java/io/InputStream read ([BII)I directBuffer
writeBytes 6(Lio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf; (Ljava/lang/String;)V 0 G I J K L + M N O M ? ? ? L+? +? P $
% &