com.groupbyinc.flux.common.netty.buffer.ReadOnlyUnsafeDirectByteBuf.class Maven / Gradle / Ivy
???? 2 ? Ccom/groupbyinc/flux/common/netty/buffer/ReadOnlyUnsafeDirectByteBuf =com/groupbyinc/flux/common/netty/buffer/ReadOnlyByteBufferBuf ReadOnlyUnsafeDirectByteBuf.java
memoryAddress J R(Lcom/groupbyinc/flux/common/netty/buffer/ByteBufAllocator;Ljava/nio/ByteBuffer;)V
@com/groupbyinc/flux/common/netty/util/internal/PlatformDependent directBufferAddress (Ljava/nio/ByteBuffer;)J
this ELcom/groupbyinc/flux/common/netty/buffer/ReadOnlyUnsafeDirectByteBuf; allocator :Lcom/groupbyinc/flux/common/netty/buffer/ByteBufAllocator; buffer Ljava/nio/ByteBuffer; _getByte (I)B addr (I)J
9com/groupbyinc/flux/common/netty/buffer/UnsafeByteBufUtil getByte (J)B " #
! $ index I _getShort (I)S getShort (J)S * +
! , _getUnsignedMedium (I)I getUnsignedMedium (J)I 0 1
! 2 _getInt getInt 5 1
! 6 _getLong getLong (J)J 9 :
! ; getBytes g(ILcom/groupbyinc/flux/common/netty/buffer/ByteBuf;II)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;
checkIndex (II)V ? @
A java/lang/NullPointerException C dst E (Ljava/lang/String;)V G
D H /com/groupbyinc/flux/common/netty/buffer/ByteBuf J capacity ()I L M
K N #java/lang/IndexOutOfBoundsException P java/lang/StringBuilder R ()V T
S U
dstIndex: W append -(Ljava/lang/String;)Ljava/lang/StringBuilder; Y Z
S [ (I)Ljava/lang/StringBuilder; Y ]
S ^ toString ()Ljava/lang/String; ` a
S b
Q H hasMemoryAddress ()Z e f
K g ()J i
K j
copyMemory (JJJ)V l m
n hasArray p f
K q array ()[B s t
K u arrayOffset w M
K x (J[BIJ)V l z
{ setBytes } >
K ~ 1Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; dstIndex length 8(I[BII)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; 1dstIndex: %d, length: %d (expected: range(0, %d)) ? java/lang/Object ? java/lang/Integer ? valueOf (I)Ljava/lang/Integer; ? ?
? ? java/lang/String ? format 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; ? ?
? ? [B I(ILjava/nio/ByteBuffer;)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; (I)V ? ?
?
N java/nio/ByteBuffer ? remaining ? M
? ? java/lang/Math ? min (II)I ? ?
? ? internalNioBuffer ()Ljava/nio/ByteBuffer; ? ?
? clear ()Ljava/nio/Buffer; ? ?
? ? java/nio/Buffer ? position (I)Ljava/nio/Buffer; ? ?
? ? limit ? ?
? ? put ,(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer; ? ?
? ? bytesToCopy tmpBuf copy 5(II)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; alloc <()Lcom/groupbyinc/flux/common/netty/buffer/ByteBufAllocator; ? ?
? maxCapacity ? M
? 8com/groupbyinc/flux/common/netty/buffer/ByteBufAllocator ? directBuffer ? ? ? ? setIndex ? ?
K ?
writeBytes f(Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;II)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; ? ?
K ? Code LocalVariableTable LineNumberTable
StackMapTable
SourceFile 0 ? U *+,? *,? ? ? ? ? ! ? = *? ? %? ? &