All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.flux.common.netty.buffer.UnpooledDirectByteBuf.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????2?=com/groupbyinc/flux/common/netty/buffer/UnpooledDirectByteBufGcom/groupbyinc/flux/common/netty/buffer/AbstractReferenceCountedByteBufUnpooledDirectByteBuf.javaalloc:Lcom/groupbyinc/flux/common/netty/buffer/ByteBufAllocator;bufferLjava/nio/ByteBuffer;	tmpNioBufcapacityI	doNotFreeZ?(Lcom/groupbyinc/flux/common/netty/buffer/ByteBufAllocator;II)V(I)V
java/lang/NullPointerException(Ljava/lang/String;)V
8com/groupbyinc/flux/common/netty/buffer/ByteBufAllocator"java/lang/IllegalArgumentExceptionjava/lang/StringBuilder()V 
!initialCapacity: #append-(Ljava/lang/String;)Ljava/lang/StringBuilder;%&
'(I)Ljava/lang/StringBuilder;%)
*toString()Ljava/lang/String;,-
.

maxCapacity: 1%initialCapacity(%d) > maxCapacity(%d)3java/lang/Object5java/lang/Integer7valueOf(I)Ljava/lang/Integer;9:
8;java/lang/String=format9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;?@
>A	Cjava/nio/ByteBufferEallocateDirect(I)Ljava/nio/ByteBuffer;GH
FI
setByteBuffer(Ljava/nio/ByteBuffer;)VKL
Mthis?Lcom/groupbyinc/flux/common/netty/buffer/UnpooledDirectByteBuf;initialCapacitymaxCapacityS(Lcom/groupbyinc/flux/common/netty/buffer/ByteBufAllocator;Ljava/nio/ByteBuffer;I)V
initialBufferTisDirect()ZVW
FX%initialBuffer is not a direct buffer.Z
isReadOnly\W
F]$initialBuffer is a read-only buffer._	remaining()Iab
Fc
	eslice()Ljava/nio/ByteBuffer;gh
Fijava/nio/ByteOrderk
BIG_ENDIANLjava/nio/ByteOrder;mn	loorder+(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;qr
FswriterIndex4(I)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;uv
w
freeDirect@com/groupbyinc/flux/common/netty/util/internal/PlatformDependentzfreeDirectBuffer|L
{}		yL
?
		?	?	oldBuffercheckNewCapacity?
?readerIndex?b
?ub
?
Iposition(I)Ljava/nio/Buffer;??
F?b
F?java/nio/Buffer?limit??
??put,(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;??
F?clear()Ljava/nio/Buffer;??
F?setIndex5(II)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;??
?	newBuffernewCapacityoldCapacity<()Lcom/groupbyinc/flux/common/netty/buffer/ByteBufAllocator;()Ljava/nio/ByteOrder;hasArrayarray()[B'java/lang/UnsupportedOperationException?
direct buffer?
?arrayOffsethasMemoryAddress
memoryAddress()J
?!getByte(I)BensureAccessible? 
?_getByte??
?indexget??
F?getShort(I)S	_getShort??
???
F?_getShortLE3com/groupbyinc/flux/common/netty/buffer/ByteBufUtil?	swapShort(S)S??
??getUnsignedMedium(I)I_getUnsignedMedium??
???
?_getUnsignedMediumLEgetInt_getInt??
???
F?	_getIntLEswapInt??
??getLong(I)J_getLong??
???
F?
_getLongLEswapLong(J)J??
??getBytesg(ILcom/groupbyinc/flux/common/netty/buffer/ByteBuf;II)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;/com/groupbyinc/flux/common/netty/buffer/ByteBuf?
??
checkDstIndex(IIII)V??
??W
????
???b
??8(I[BII)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;?
nioBufferCountb
?
nioBuffers(II)[Ljava/nio/ByteBuffer;
?	[Ljava/nio/ByteBuffer;I(ILjava/nio/ByteBuffer;)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;?
setBytes?
?bbLenbbdst1Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;dstIndexlength	(I[BIIZ)V?
[BinternalNioBufferh
	duplicate h
F!
??([BII)Ljava/nio/ByteBuffer;?$
F%tmpBufinternal	readBytes7([BII)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;checkReadableBytes+
,?	.(ILjava/nio/ByteBuffer;Z)V?0
1
checkIndex(II)V34
5H(Ljava/nio/ByteBuffer;)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;setByte_setByte94
:value(IB)Ljava/nio/ByteBuffer;?=
F>setShort	_setShortA4
BputShort(IS)Ljava/nio/ByteBuffer;DE
FF_setShortLE	setMedium
_setMediumJ4
K8?
M_setMediumLEsetInt_setIntQ4
RputInt(II)Ljava/nio/ByteBuffer;TU
FV	_setIntLEsetLong5(IJ)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;_setLong(IJ)V[\
]JputLong(IJ)Ljava/nio/ByteBuffer;`a
Fb
_setLongLE
checkSrcIndexe?
f
h??
?jsrcsrcIndex?$
FnK(ILjava/io/OutputStream;I)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;java/io/IOExceptionq(ILjava/io/OutputStream;IZ)V?s
toutLjava/io/OutputStream;
F?
F?
F?java/io/OutputStream{write([BII)V}~
|([B)Ljava/nio/ByteBuffer;??
F?([B)V}?
|?tmpJ(Ljava/io/OutputStream;I)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;-(ILjava/nio/channels/GatheringByteChannel;I)I.(ILjava/nio/channels/GatheringByteChannel;IZ)I??
?(Ljava/nio/channels/GatheringByteChannel;&java/nio/channels/GatheringByteChannel?(Ljava/nio/ByteBuffer;)I}???%(ILjava/nio/channels/FileChannel;JI)I&(ILjava/nio/channels/FileChannel;JIZ)I??
?Ljava/nio/channels/FileChannel;java/nio/channels/FileChannel?(Ljava/nio/ByteBuffer;J)I}?
??,(Ljava/nio/channels/GatheringByteChannel;I)I$(Ljava/nio/channels/FileChannel;JI)I(ILjava/io/InputStream;I)Ijava/io/InputStream?read([BII)I??
??([B)I??
??inLjava/io/InputStream;.(ILjava/nio/channels/ScatteringByteChannel;I)I(java/nio/channels/ClosedChannelException?'java/nio/channels/ScatteringByteChannel?????ignored*Ljava/nio/channels/ClosedChannelException;)Ljava/nio/channels/ScatteringByteChannel;??
??	nioBuffer?U
?copy#java/lang/IndexOutOfBoundsException?Too many bytes to read - Need ?
??
?Rb
?directBuffer???
writeBytes?7
??$Ljava/lang/IllegalArgumentException;
deallocateunwrap3()Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;CodeLocalVariableTableLineNumberTable
StackMapTable
Exceptions
SourceFile!	
	
I??*?+?
?Y????Y?Y?"$?(?+?/?0???Y?Y?"2?(?+?/?0??"?Y4?6Y?c?n>uBzC?D??#S?I?*?+?
?Y??,?
?YU??,?Y?
?Y[?0?,?^?
?Y`?0?,?d6?#?Y4?6Y?*??6?E*??:*??:??????W??????W??W??W*?N?\?V*??:*??:?7?*Y>?xW????W????W??W??W?
*??W*?N*??\	!9?	(2?	iM?	pF?	?OP??
???u???f??
????!?(?7?F?N?T?Z?c?i?p?u?z?????????????????]?$FF&???/*?D??OP??q??.?p??OP???W?,??OP?????4
??Y?????
OP???b?4
??Y?????
OP???W?,??OP?????2??Y????OP?????B
*??*????
OP
??
?????=	*???Ŭ?	OP	??????B
*??*?ʬ?
OP
??
?????=	*???̬?	OP	??????@*???̸Ӭ?OP??????B
*??*?ج?
OP
??
?????h(*???~x*`???~x?*`???~???(OP(?????'????h(*???~*`???~x?*`???~x???(OP(???
??'????B
*??*?߬?
OP
??
???=	*?????	OP	??
???@*??????OP?????B
*??*???
OP
??
???=	*?????	OP	?????@*??????OP?????
w*,????,???*,??,?`?W?P,???,?
:?66?$2:?d6	*?W	`@!B2C<D?	?F)*?q*?-**?/+?*Y?/`?/*??*OP?HIJK?
?K	*,?2*?? 	OP	?		?
PQ?0??:*,?d?6?*?:?*???":???#,?d`??W,??W??>'	:OP:?:	:('	?U	X
Y[]2^9_?	?F)7?n +?d=*?-**?/+?2*Y?/`?/*??  OP 	?cd
efg8??R*??*?;*?? OP?<?lm
n94?N*?????W?? OP?<?
st@??R*??*?C*?? OP?<?xy
zA4?N*????GW?? OP?<?
?H4?Q*????ӶGW?? OP?<?
??I??R*??*?L*?? OP?<???
?J4?m#*|??NW*`|??NW*`??NW?? #OP#?#<????"?O4?m#*??NW*`|??NW*`|??NW?? #OP#?#<????"?P??R*??*?S*?? OP?<???
?Q4?M*???WW?? OP?<?
?
?X4?P*????WW?? OP?<?
?
?YZ?R*??* ?^*?? OP?<_???
?[\?M*?? ?cW?? OP?<_?
?
?d\?P*?? ??cW?? OP?<_?
?
????
[*,???g,???,?
:?66?$2:?d6	*?iW	`-OP-?-l-m-'	??
??!?+?
??-*??*?N,-?,?"M-???#,?d`??W-,??W*??*-OP-?-l		$'	???	???%?+???F?p?V
*,?u*??*
OP
?
vw
?
???r?s?`*????*???x?,*???y*???z`???7?:?*?:?*???":???#W??W,????R;'	0/?G'	`OP`?`vw``(?6
???	??+?0?5?>?G?Q?Y?_??	!???F??r)??f*?-**?/+?u*Y?/`?/*?? OPvw??r???Q	*,????*	OP	?	v?	?	?r????:*?????*?:?*???":???#`??W,????H'	:OP:?:v?::(!'	?"

!1?


?F?r???]*,!????4OP?v??_??r????9*?????
*??
*???":???#`??W,!????H9OP9?9v?9?_99( '	?"#	$' (1)?FF?r)??q*?-**?/+??>*Y?/`?/??*OPv?)?./01?r)???#*?-**?/+ ??6*Y?/`?/??4#OP#v?#?_#)?678 9?r???W*??*???x?,*???y*???z`????:,??6??*?:???#W?oW??H).?1&)?'	WOPW?W??W?.>?@$B)C1D6E9G?HIITJ?
$???r???)*??*?:???#`??W,*?????:?$%??>'??)OP)?)??)
'	?PQ
RT%U'V??%?F??r???)*??*?:???#`??W,*??!???:?$%??H'??)OP)?)??)?_)
'	?\]
^`%a'b??%?F??rb?,??OP?h?L?FY*??S?? OP??m????R*??*???"???#`???FN?#:??Y?Y?"??(`?+?/???*??*?Ĺ?-?ʰ?>l	!??ROPR?R?l	?ruxv!w?z?_?FU?]*?6*????#`???F?? OP??
?h?f*??L+?**???"YL??+??OP
	???	????F?U?`*?6*???"??`???F?j?? OP??
??? ?w*??L+??*??*?f?*+????OP	???	?
?????	?
F???,??OP???




© 2015 - 2024 Weber Informatics LLC | Privacy Policy