
classes.io.netty.buffer.PooledHeapByteBuf.class Maven / Gradle / Ivy
???? 2r ?
? ? ?
?
P ? ? ?
?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
?
? ?
? ?
? ?
? ?
? ?
? ?
?
? ?
? ?
?
?
* ?
? ?
* ?
?
? ?
?
?
* ?
* ?
? ?
? ? ? ? ?
?
? ?
? ?
?
?
?
?
?
?
?
?
?
?
?
? ?
*
?
?
*
*
K
N InnerClasses RECYCLER Lio/netty/util/Recycler; Signature =Lio/netty/util/Recycler; newInstance &(I)Lio/netty/buffer/PooledHeapByteBuf; Code LineNumberTable LocalVariableTable maxCapacity I buf #Lio/netty/buffer/PooledHeapByteBuf; ! Handle #(Lio/netty/util/Recycler$Handle;I)V this recyclerHandle Lio/netty/util/Recycler$Handle; LocalVariableTypeTable ELio/netty/util/Recycler$Handle<+Lio/netty/buffer/PooledHeapByteBuf;>; I(Lio/netty/util/Recycler$Handle<+Lio/netty/buffer/PooledHeapByteBuf;>;I)V 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; dst Lio/netty/buffer/ByteBuf; dstIndex length
StackMapTable (I[BII)Lio/netty/buffer/ByteBuf; [B 1(ILjava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf; Ljava/nio/ByteBuffer; 3(ILjava/io/OutputStream;I)Lio/netty/buffer/ByteBuf; out Ljava/io/OutputStream;
Exceptions" -(ILjava/nio/channels/GatheringByteChannel;I)I (Ljava/nio/channels/GatheringByteChannel; .(ILjava/nio/channels/GatheringByteChannel;IZ)I tmpBuf internal Z ? %(ILjava/nio/channels/FileChannel;JI)I Ljava/nio/channels/FileChannel; position J &(ILjava/nio/channels/FileChannel;JIZ)I readBytes ,(Ljava/nio/channels/GatheringByteChannel;I)I $(Ljava/nio/channels/FileChannel;JI)I _setByte (II)V value _setShort _setShortLE
_setMedium _setMediumLE _setInt _setIntLE _setLong (IJ)V
_setLongLE setBytes src srcIndex (ILjava/io/InputStream;I)I in Ljava/io/InputStream; .(ILjava/nio/channels/ScatteringByteChannel;I)I ignored *Ljava/nio/channels/ClosedChannelException; )Ljava/nio/channels/ScatteringByteChannel; copy (II)Lio/netty/buffer/ByteBuf; nioBufferCount ()I
nioBuffers (II)[Ljava/nio/ByteBuffer; nioBuffer (II)Ljava/nio/ByteBuffer; internalNioBuffer hasArray array ()[B arrayOffset hasMemoryAddress
memoryAddress ()J newInternalNioBuffer ([B)Ljava/nio/ByteBuffer; memory )(Ljava/lang/Object;)Ljava/nio/ByteBuffer; ()V #Lio/netty/buffer/PooledByteBuf<[B>;
SourceFile PooledHeapByteBuf.java S T#$% !io/netty/buffer/PooledHeapByteBuf&' ` c ?() s*+,-./.01213141567689 ?:; ? k ? ?<=> ? k ? ? ? ? z ? ? ??@AB'C ?DEFGHB ?IJK z ? ?LM ?NOP ?QRQ java/nio/ByteBufferSJT z ?UJVW'X ]YKZK[K\K]K^K_K`abac;=d$HefghfT (java/nio/channels/ClosedChannelExceptionfVij \ ?kl ?mn ? ?MHoLp ?q ] 'java/lang/UnsupportedOperationException ` ? ? ? #io/netty/buffer/PooledHeapByteBuf$1 io/netty/buffer/PooledByteBuf io/netty/util/Recycler$Handle java/io/IOException io/netty/util/Recycler get ()Ljava/lang/Object; reuse (I)V Ljava/lang/Object; idx io/netty/buffer/HeapByteBufUtil getByte ([BI)B getShort ([BI)S
getShortLE getUnsignedMedium ([BI)I getUnsignedMediumLE getInt getIntLE getLong ([BI)J getLongLE io/netty/buffer/ByteBuf capacity
checkDstIndex (IIII)V (io/netty/util/internal/PlatformDependent
copyMemory ([BIJJ)V java/lang/System arraycopy *(Ljava/lang/Object;ILjava/lang/Object;II)V
checkIndex remaining java/lang/Math min (II)I put ([BII)Ljava/nio/ByteBuffer; java/io/OutputStream write ([BII)V ()Ljava/nio/ByteBuffer; wrap clear ()Ljava/nio/Buffer; java/nio/Buffer (I)Ljava/nio/Buffer; limit &java/nio/channels/GatheringByteChannel (Ljava/nio/ByteBuffer;)I java/nio/channels/FileChannel (Ljava/nio/ByteBuffer;J)I checkReadableBytes readerIndex setByte setShort
setShortLE setMedium setMediumLE setInt setIntLE setLong ([BIJ)V setLongLE
checkSrcIndex (J[BIJ)V java/io/InputStream read ([BII)I 'java/nio/channels/ScatteringByteChannel alloc $()Lio/netty/buffer/ByteBufAllocator; io/netty/buffer/ByteBufAllocator
heapBuffer
writeBytes ([BII)Lio/netty/buffer/ByteBuf; slice ensureAccessible offset P S T U V 2 W X Y M ? ? ? L+? +? Z '
( ) [ \ ]
^ _ ` c Y [ *+? ? Z
- . [ d _ e f \ ] g e h U i j k Y , ? Z 2 [ d _ l m Y D *? ? *? ? ? Z 7 [ d _ n ] o p Y D *? ? *? ?
? Z <