![JAR search and dependency download from the Maven repository](/logo.png)
classes.io.netty.buffer.PooledUnsafeDirectByteBuf.class Maven / Gradle / Ivy
The newest version!
???? 2&
? ?
? ? ?
?
; ?
; ?
?
; ? ? ?
? ? ? ?
?
?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ? ? ?
, ?
?
? ? ?
1 ?
; ?
?
? ?
? ?
? ?
9 ? ? InnerClasses RECYCLER Lio/netty/util/Recycler; Signature ELio/netty/util/Recycler;
memoryAddress J newInstance .(I)Lio/netty/buffer/PooledUnsafeDirectByteBuf; Code LineNumberTable LocalVariableTable maxCapacity I buf +Lio/netty/buffer/PooledUnsafeDirectByteBuf; ? Handle #(Lio/netty/util/Recycler$Handle;I)V this recyclerHandle Lio/netty/util/Recycler$Handle; LocalVariableTypeTable LLio/netty/util/Recycler$Handle; P(Lio/netty/util/Recycler$Handle;I)V init X(Lio/netty/buffer/PoolChunk;Ljava/nio/ByteBuffer;JIIILio/netty/buffer/PoolThreadCache;)V chunk Lio/netty/buffer/PoolChunk; nioBuffer Ljava/nio/ByteBuffer; handle offset length maxLength cache !Lio/netty/buffer/PoolThreadCache; 2Lio/netty/buffer/PoolChunk; o(Lio/netty/buffer/PoolChunk;Ljava/nio/ByteBuffer;JIIILio/netty/buffer/PoolThreadCache;)V initUnpooled (Lio/netty/buffer/PoolChunk;I)V 6(Lio/netty/buffer/PoolChunk;I)V initMemoryAddress ()V newInternalNioBuffer ,(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer; memory 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 (I[BII)Lio/netty/buffer/ByteBuf; [B 1(ILjava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf; 3(ILjava/io/OutputStream;I)Lio/netty/buffer/ByteBuf; out Ljava/io/OutputStream;
Exceptions ? _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; copy (II)Lio/netty/buffer/ByteBuf; hasArray array ()[B arrayOffset ()I hasMemoryAddress ()J addr newSwappedByteBuf "()Lio/netty/buffer/SwappedByteBuf;
StackMapTable setZero writeZero (I)Lio/netty/buffer/ByteBuf; wIndex )(Ljava/lang/Object;)Ljava/nio/ByteBuffer; P(Lio/netty/util/Recycler$Handle;ILio/netty/buffer/PooledUnsafeDirectByteBuf$1;)V x0 x1 x2 -Lio/netty/buffer/PooledUnsafeDirectByteBuf$1; 6Lio/netty/buffer/PooledByteBuf;
SourceFile PooledUnsafeDirectByteBuf.java L O = > ? ? ? )io/netty/buffer/PooledUnsafeDirectByteBuf ? ? V W g h d e k ? java/nio/ByteBuffer ? ? ? ] I A B ? ? ? z
| | | | ? ? ? ? ? 'java/lang/UnsupportedOperationException
direct buffer L h! m *io/netty/buffer/UnsafeDirectSwappedByteBuf L" ? ?# ? ?$ ?% I i j +io/netty/buffer/PooledUnsafeDirectByteBuf$1 L h 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; (io/netty/util/internal/PlatformDependent directBufferAddress (Ljava/nio/ByteBuffer;)J duplicate ()Ljava/nio/ByteBuffer; !io/netty/buffer/UnsafeByteBufUtil getByte (J)B getShort (J)S
getShortLE getUnsignedMedium (J)I getUnsignedMediumLE getInt getIntLE getLong (J)J getLongLE A(Lio/netty/buffer/AbstractByteBuf;JILio/netty/buffer/ByteBuf;II)V *(Lio/netty/buffer/AbstractByteBuf;JI[BII)V ;(Lio/netty/buffer/AbstractByteBuf;JILjava/nio/ByteBuffer;)V =(Lio/netty/buffer/AbstractByteBuf;JILjava/io/OutputStream;I)V setByte (JI)V setShort
setShortLE setMedium setMediumLE setInt setIntLE setLong (JJ)V setLongLE <(Lio/netty/buffer/AbstractByteBuf;JILjava/io/InputStream;I)I ?(Lio/netty/buffer/AbstractByteBuf;JII)Lio/netty/buffer/ByteBuf; (Ljava/lang/String;)V ensureAccessible isUnaligned $(Lio/netty/buffer/AbstractByteBuf;)V
checkIndex ensureWritable writerIndex 0 ; = > ? @ A B . C D E M ? ? ? L+? +? F $
% &