classes.io.netty.buffer.UnpooledDirectByteBuf.class Maven / Gradle / Ivy
???? 2?
? ! ?
"#$
%&
'
(
)
"*+,
-.
/0 1
v2
3 ?
v45
v67
v8 9
v: ;<
v=
>
?@ A
B C D
E
FG
H
I
2
vJ
vK
LM
vN
vO
PQR
1"
1%
S
vT
U
vV
WX
Y
Z
[
v\
W]
^
v_
W`
aK
b
ac
ad
ae
f
ag
ah
i
aj
k
l
vm
LJ
vn
o p
q
r ?
K
st
u
vv
w
vx
y
z
{
v|
}
v~
?
a?
v?
?
vc
vd
ve
??
v?
??
???
?
??
??
?????
???
???
x"
???
a?
??? alloc "Lio/netty/buffer/ByteBufAllocator; buffer Ljava/nio/ByteBuffer; tmpNioBuf capacity I doNotFree Z '(Lio/netty/buffer/ByteBufAllocator;II)V Code LineNumberTable LocalVariableTable this 'Lio/netty/buffer/UnpooledDirectByteBuf; initialCapacity maxCapacity
StackMapTable?? ;(Lio/netty/buffer/ByteBufAllocator;Ljava/nio/ByteBuffer;I)V
initialBuffer? allocateDirect (I)Ljava/nio/ByteBuffer;
freeDirect (Ljava/nio/ByteBuffer;)V
setByteBuffer oldBuffer isDirect ()Z ()I (I)Lio/netty/buffer/ByteBuf; newBuffer newCapacity readerIndex writerIndex oldCapacity $()Lio/netty/buffer/ByteBufAllocator; order ()Ljava/nio/ByteOrder; hasArray array ()[B arrayOffset hasMemoryAddress
memoryAddress ()J getByte (I)B index _getByte getShort (I)S _getShort _getShortLE getUnsignedMedium (I)I _getUnsignedMedium _getUnsignedMediumLE getInt _getInt _getIntLE getLong (I)J _getLong
_getLongLE getBytes 7(ILio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf; bbLen bb arr$ [Ljava/nio/ByteBuffer; len$ i$ dst Lio/netty/buffer/ByteBuf; dstIndex length ? (I[BII)Lio/netty/buffer/ByteBuf; [B (I[BIIZ)V tmpBuf internal readBytes ([BII)Lio/netty/buffer/ByteBuf; 1(ILjava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf; (ILjava/nio/ByteBuffer;Z)V bytesToCopy 0(Ljava/nio/ByteBuffer;)Lio/netty/buffer/ByteBuf; setByte (II)Lio/netty/buffer/ByteBuf; value _setByte (II)V setShort _setShort _setShortLE setMedium
_setMedium _setMediumLE setInt _setInt _setIntLE setLong (IJ)Lio/netty/buffer/ByteBuf; J _setLong (IJ)V
_setLongLE setBytes src srcIndex 3(ILjava/io/OutputStream;I)Lio/netty/buffer/ByteBuf; out Ljava/io/OutputStream;
Exceptions? (ILjava/io/OutputStream;IZ)V tmp ? 2(Ljava/io/OutputStream;I)Lio/netty/buffer/ByteBuf; -(ILjava/nio/channels/GatheringByteChannel;I)I (Ljava/nio/channels/GatheringByteChannel; .(ILjava/nio/channels/GatheringByteChannel;IZ)I %(ILjava/nio/channels/FileChannel;JI)I Ljava/nio/channels/FileChannel; position &(ILjava/nio/channels/FileChannel;JIZ)I ,(Ljava/nio/channels/GatheringByteChannel;I)I $(Ljava/nio/channels/FileChannel;JI)I (ILjava/io/InputStream;I)I in Ljava/io/InputStream; .(ILjava/nio/channels/ScatteringByteChannel;I)I ignored *Ljava/nio/channels/ClosedChannelException; )Ljava/nio/channels/ScatteringByteChannel;??? nioBufferCount
nioBuffers (II)[Ljava/nio/ByteBuffer; copy $Ljava/lang/IllegalArgumentException;# internalNioBuffer (II)Ljava/nio/ByteBuffer; ()Ljava/nio/ByteBuffer; nioBuffer
deallocate ()V unwrap ()Lio/netty/buffer/ByteBuf;
SourceFile UnpooledDirectByteBuf.java ?? java/lang/NullPointerException ?? "java/lang/IllegalArgumentException java/lang/StringBuilder ? initialCapacity: ??????
maxCapacity: %initialCapacity(%d) > maxCapacity(%d) java/lang/Object?????? ? ? ? ? ? ? ? ? %initialBuffer is not a direct buffer.? ? $initialBuffer is a read-only buffer.? ? ? ????? ?? ? ??? ? ? ? ? ? ? ? ? ?? ? ?
newCapacity: ? ? ? ?? ? ????????? ? 'java/lang/UnsupportedOperationException
direct buffer ? ?? ? ? ? ? ???? ? ? ? ? ? ? ? ?? ? ? ? ? ?????? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?????? ? ? ? ?????? ? ??? ? ??? ? ? ? ? ? ?? ? ????? ? ? ? ??? ? ???????? ? ???? ???????????? (java/nio/channels/ClosedChannelException?? java/nio/ByteBuffer #java/lang/IndexOutOfBoundsException Too many bytes to read - Need ? ??? ?? ?? ? %io/netty/buffer/UnpooledDirectByteBuf /io/netty/buffer/AbstractReferenceCountedByteBuf io/netty/buffer/ByteBufAllocator java/io/IOException 'java/nio/channels/ScatteringByteChannel java/nio/channels/FileChannel (I)V (Ljava/lang/String;)V append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (I)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; java/lang/Integer valueOf (I)Ljava/lang/Integer; java/lang/String format 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
isReadOnly remaining slice java/nio/ByteOrder
BIG_ENDIAN Ljava/nio/ByteOrder; +(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer; (io/netty/util/internal/PlatformDependent freeDirectBuffer ensureAccessible (I)Ljava/nio/Buffer; java/nio/Buffer limit put ,(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer; clear ()Ljava/nio/Buffer; setIndex get io/netty/buffer/ByteBufUtil swapShort (S)S swapInt swapLong (J)J io/netty/buffer/ByteBuf
checkDstIndex (IIII)V duplicate ([BII)Ljava/nio/ByteBuffer; checkReadableBytes
checkIndex java/lang/Math min (II)I (IB)Ljava/nio/ByteBuffer; putShort (IS)Ljava/nio/ByteBuffer; putInt putLong (IJ)Ljava/nio/ByteBuffer;
checkSrcIndex java/io/OutputStream write ([BII)V ([B)Ljava/nio/ByteBuffer; ([B)V &java/nio/channels/GatheringByteChannel (Ljava/nio/ByteBuffer;)I (Ljava/nio/ByteBuffer;J)I java/io/InputStream read ([BII)I ([B)I directBuffer
writeBytes ! ? ? ? ? ? ? ? ? ? ? ? I ? ? ? ?*? +?
? Y? ?? ? Y? Y? ? ?
? ? ?? ? Y? Y?
? ?
? ? ?? "? Y? Y? SY? S? ? ?*+? *? ? ? ? 2 3 4 5 7 8 2 : 6 ; Q = V > u B z C ? D ? * ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? # ? ? ? A ?*? +?
? Y? ?,?
? Y? ?,? ?
? Y? ?,? ?
? Y? ?,? 6? #? Y? Y? SY? S? ? ?*+? *? *,? ? ? ? *? W? ? F L M N P Q ! S ( T 2 V 9 W C Z I [ O \ o ` t a y b ? c ? d ? 4 ? ? ? ? ? ? ? ? ? ? ? ? I F ? ? ? ? ? ? ?
? + ? ? ? 9 ? ? ? j ? ? ? ? ? ? ? ? = +? ? ?
q r ? ? ? ? ? ? ? ? ? 0*? !M,? *? ? *? ? *,? "*+? !*? #*+? ? $? ? &