
classes.io.netty.buffer.UnsafeByteBufUtil.class Maven / Gradle / Ivy
???? 2x
? ? a ?
? ? ? ?
? ? ??
? ?
? ?
? ?
? ? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ?
? ? ? ?
? ?
? ?
? ?
? ?
? ? ? ?
? ?
? ?
? ?
? ?
? ? ?
? ?
? ?
? ? ? ?
: ? ?
:
:
:
9
?
?
?
?
? ?
J ?
?
?
?
?
?
?
?
?
[
]
b ?
? UNALIGNED Z ZERO B
ConstantValue getByte (J)B Code LineNumberTable LocalVariableTable address J getShort (J)S v S
StackMapTable
getShortLE getUnsignedMedium (J)I getUnsignedMediumLE getInt I getIntLE getLong (J)J getLongLE setByte (JI)V value setShort
setShortLE setMedium setMediumLE setInt setIntLE setLong (JJ)V setLongLE ([BI)B array [B index ([BI)S ([BI)I ([BI)J ([BII)V ? ([BIJ)V setZero length copy ?(Lio/netty/buffer/AbstractByteBuf;JII)Lio/netty/buffer/ByteBuf; buf !Lio/netty/buffer/AbstractByteBuf; addr Lio/netty/buffer/ByteBuf;! setBytes <(Lio/netty/buffer/AbstractByteBuf;JILjava/io/InputStream;I)I tmp offset readBytes in Ljava/io/InputStream; tmpBuf"#$
Exceptions% getBytes A(Lio/netty/buffer/AbstractByteBuf;JILio/netty/buffer/ByteBuf;II)V dst dstIndex *(Lio/netty/buffer/AbstractByteBuf;JI[BII)V ;(Lio/netty/buffer/AbstractByteBuf;JILjava/nio/ByteBuffer;)V
dstAddress Ljava/nio/ByteBuffer; bytesToCopy src srcIndex
srcAddress& =(Lio/netty/buffer/AbstractByteBuf;JILjava/io/OutputStream;I)V out Ljava/io/OutputStream;' '(Lio/netty/buffer/AbstractByteBuf;JII)V newUnsafeDirectByteBuf S(Lio/netty/buffer/ByteBufAllocator;II)Lio/netty/buffer/UnpooledUnsafeDirectByteBuf; alloc "Lio/netty/buffer/ByteBufAllocator; initialCapacity maxCapacity ()V this #Lio/netty/buffer/UnsafeByteBufUtil;
SourceFile UnsafeByteBufUtil.java( i j c d p q) d*+, y w-+. | }/+ }01234 ?5 ? i ? p ? y ? | ?06274 ?5 ?89":; ?< ?=>?@!ABCDEFG@HIJK ?LM=#NOEPQBRSTU=VWX #java/lang/IndexOutOfBoundsException java/lang/StringBuilder ? ?
dstIndex: YZY[\] ?^_BE` ?a:b&c=defgBhB java/nio/ReadOnlyBufferExceptionijk=klmnop
srcIndex: ?aqr's ?8tuB 4io/netty/buffer/UnpooledUnsafeNoCleanerDirectByteBuf ?v +io/netty/buffer/UnpooledUnsafeDirectByteBufwB !io/netty/buffer/UnsafeByteBufUtil java/lang/Object io/netty/buffer/ByteBuf io/netty/buffer/AbstractByteBuf java/io/InputStream java/lang/Throwable java/io/IOException java/nio/ByteBuffer java/io/OutputStream (io/netty/util/internal/PlatformDependent BIG_ENDIAN_NATIVE_ORDER java/lang/Short reverseBytes (S)S java/lang/Integer (I)I java/lang/Long putByte (JB)V putShort (JS)V putInt putLong ([BIB)V ([BIS)V setMemory ([BIJB)V
checkIndex (II)V $()Lio/netty/buffer/ByteBufAllocator; ()I io/netty/buffer/ByteBufAllocator directBuffer (II)Lio/netty/buffer/ByteBuf; hasMemoryAddress ()Z
memoryAddress ()J
copyMemory (JJJ)V setIndex
writeBytes 6(Lio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf;
heapBuffer (I)Lio/netty/buffer/ByteBuf; ()[B arrayOffset read ([BII)I ([BIJJ)V release !io/netty/util/internal/ObjectUtil checkNotNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; capacity io/netty/util/internal/MathUtil
isOutOfBounds (III)Z append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (I)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; (Ljava/lang/String;)V hasArray (J[BIJ)V 7(ILio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf; (I)V remaining java/lang/Math min (II)I isDirect
isReadOnly directBufferAddress (Ljava/nio/ByteBuffer;)J position (I)Ljava/nio/Buffer; nioBuffer ()Ljava/nio/ByteBuffer; put ,(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer; get ([BII)Ljava/nio/ByteBuffer; write (JJB)V useDirectBufferNoCleaner '(Lio/netty/buffer/ByteBufAllocator;II)V isUnaligned 0 a b c d e f g h 2 i j k / ? ? l ' m n o p q k .? ? ? =? ? ? ? ?? x
a? ?~??? l + , - / m r s . n o t ? C? u q k .? ? ? =? ?
? ? ?? ?~
a? x??? l 3 4 5 7 m r s . n o t ? @? v w k ? d? ? :? ? ? ?~
a? ~x??? ? ~x a? ?~??? ?~x
a? ?~x? a? ?~?? l ; <