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

io.netty.buffer.ByteBufUtil.class Maven / Gradle / Ivy

????2?io/netty/buffer/ByteBufUtiljava/lang/ObjectByteBufUtil.java4io/netty/buffer/ByteBufUtil$ThreadLocalDirectByteBufThreadLocalDirectByteBuf:io/netty/buffer/ByteBufUtil$ThreadLocalUnsafeDirectByteBuf	ThreadLocalUnsafeDirectByteBuf#io/netty/buffer/ByteBufUtil$HexUtilHexUtilio/netty/buffer/ByteBufUtil$2io/netty/buffer/ByteBufUtil$1,io/netty/util/ByteProcessor$IndexOfProcessorio/netty/util/ByteProcessorIndexOfProcessorlogger/Lio/netty/util/internal/logging/InternalLogger;CHAR_BUFFERS*Lio/netty/util/concurrent/FastThreadLocal;ALio/netty/util/concurrent/FastThreadLocal;WRITE_UTF_UNKNOWNB?MAX_CHAR_BUFFER_SIZEITHREAD_LOCAL_BUFFER_SIZEMAX_BYTES_PER_CHAR_UTF8DEFAULT_ALLOCATOR"Lio/netty/buffer/ByteBufAllocator;FIND_NON_ASCIILio/netty/util/ByteProcessor;hexDump-(Lio/netty/buffer/ByteBuf;)Ljava/lang/String;io/netty/buffer/ByteBuf*readerIndex()I,-
+.
readableBytes0-
+1/(Lio/netty/buffer/ByteBuf;II)Ljava/lang/String;(3
4bufferLio/netty/buffer/ByteBuf;
access$00083

9	fromIndexlength([B)Ljava/lang/String;([BII)Ljava/lang/String;(>
?array[B
access$100C>

D
decodeHexByte(Ljava/lang/CharSequence;I)B!io/netty/util/internal/StringUtilHFG
IJsLjava/lang/CharSequence;pos
decodeHexDump(Ljava/lang/CharSequence;)[Bjava/lang/CharSequenceQ<-RS(Ljava/lang/CharSequence;II)[BOU
IVhashCode(Lio/netty/buffer/ByteBuf;)Iorder()Ljava/nio/ByteOrder;Z[
+\java/nio/ByteOrder^
BIG_ENDIANLjava/nio/ByteOrder;`a	_bgetInt(I)Ide
+fswapInthe
igetByte(I)Bkl
+miaLenintCount	byteCount
arrayIndexindexOf5(Lio/netty/buffer/ByteBuf;Lio/netty/buffer/ByteBuf;)Iequals8(Lio/netty/buffer/ByteBuf;ILio/netty/buffer/ByteBuf;II)Zvw
xneedlehaystackattempts"java/lang/IllegalArgumentException},All indexes and lengths must be non-negative(Ljava/lang/String;)V??
~?writerIndex?-
+?getLong(I)J??
+?swapLong(J)J??
?aaStartIndexbbStartIndex	longCount5(Lio/netty/buffer/ByteBuf;Lio/netty/buffer/ByteBuf;)ZbufferAbufferBcomparejava/lang/Math?min(II)I??
??compareUintBigEndian8(Lio/netty/buffer/ByteBuf;Lio/netty/buffer/ByteBuf;III)J??
?compareUintLittleEndian??
?compareUintBigEndianA??
?compareUintBigEndianB??
?????????max(JJ)J??
????
??getUnsignedByte(I)S??
+?resJbufferAIsBigEndianZuintCountIncrementcompaEndbLen	minLength	uintCountaIndexbIndexgetUnsignedInt??
+?getUnsignedIntLE??
+?(Lio/netty/buffer/ByteBuf;IIB)IfirstIndexOf??
?lastIndexOf??
?toIndexvalue	swapShort(S)Sjava/lang/Short?reverseBytes??
??S
swapMedium????swappedjava/lang/Integer??e
??java/lang/Long???
??	readBytesW(Lio/netty/buffer/ByteBufAllocator;Lio/netty/buffer/ByteBuf;I)Lio/netty/buffer/ByteBuf; io/netty/buffer/ByteBufAllocator?(I)Lio/netty/buffer/ByteBuf;6???4(Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf;??
+?release()Z??
+?java/lang/Throwable?allocdst??
??capacity?-
+(B)V?
forEachByte"(IILio/netty/util/ByteProcessor;)I
+forEachByteDesc	
+
	writeUtf8U(Lio/netty/buffer/ByteBufAllocator;Ljava/lang/CharSequence;)Lio/netty/buffer/ByteBuf;utf8MaxBytes(Ljava/lang/CharSequence;)I
4(Lio/netty/buffer/ByteBuf;Ljava/lang/CharSequence;)I
seqbufio/netty/buffer/AbstractByteBufensureWritable?
?!	>(Lio/netty/buffer/AbstractByteBuf;ILjava/lang/CharSequence;I)I
io/netty/buffer/WrappedByteBuf!unwrap()Lio/netty/buffer/ByteBuf;#$
+%toString()Ljava/lang/String;'(R)io/netty/util/CharsetUtil+UTF_8Ljava/nio/charset/Charset;-.	,/java/lang/String1getBytes(Ljava/nio/charset/Charset;)[B34
25
writeBytes([B)Lio/netty/buffer/ByteBuf;78
+9byteBuf!Lio/netty/buffer/AbstractByteBuf;writtenbytes#java/lang/IndexOutOfBoundsException?charAt(I)CABRC_setByte(II)VEF
GisSurrogate(C)ZIJ
IKjava/lang/CharacterMisHighSurrogateOJ
NPisLowSurrogateRJ
NStoCodePoint(CC)IUV
NWc2Ce%Ljava/lang/IndexOutOfBoundsException;	codePointclenoldWriterIndex#!	a
writeAsciic
dio/netty/util/AsciiStringf()[BAh
giarrayOffsetk-
gl([BII)Lio/netty/buffer/ByteBuf;7n
+oc
qUS_ASCIIs.	,tasciiStringLio/netty/util/AsciiString;c2b(C)Bxy
gzencodeStringl(Lio/netty/buffer/ByteBufAllocator;Ljava/nio/CharBuffer;Ljava/nio/charset/Charset;)Lio/netty/buffer/ByteBuf;
encodeString0n(Lio/netty/buffer/ByteBufAllocator;ZLjava/nio/CharBuffer;Ljava/nio/charset/Charset;I)Lio/netty/buffer/ByteBuf;~
?srcLjava/nio/CharBuffer;charsetm(Lio/netty/buffer/ByteBufAllocator;Ljava/nio/CharBuffer;Ljava/nio/charset/Charset;I)Lio/netty/buffer/ByteBuf;
extraCapacity)java/nio/charset/CharacterCodingException?encoder=(Ljava/nio/charset/Charset;)Ljava/nio/charset/CharsetEncoder;??
,?java/nio/CharBuffer?	remaining?-
??java/nio/charset/CharsetEncoder?maxBytesPerChar()F??
??
heapBuffer????internalNioBuffer(II)Ljava/nio/ByteBuffer;??
+?java/nio/ByteBuffer?position?-
??encodeK(Ljava/nio/CharBuffer;Ljava/nio/ByteBuffer;Z)Ljava/nio/charset/CoderResult;??
??java/nio/charset/CoderResult?isUnderflow??
??throwException()V??
??flush5(Ljava/nio/ByteBuffer;)Ljava/nio/charset/CoderResult;??
????
+?java/nio/charset/Charset?java/lang/IllegalStateException?(Ljava/lang/Throwable;)V??
??dstBufLjava/nio/ByteBuffer;crLjava/nio/charset/CoderResult;x+Ljava/nio/charset/CharacterCodingException;enforceHeap!Ljava/nio/charset/CharsetEncoder;decodeStringI(Lio/netty/buffer/ByteBuf;IILjava/nio/charset/Charset;)Ljava/lang/String;?decoder=(Ljava/nio/charset/Charset;)Ljava/nio/charset/CharsetDecoder;??
,?java/nio/charset/CharsetDecoder?maxCharsPerByte??
??	?(io/netty/util/concurrent/FastThreadLocal?get()Ljava/lang/Object;??
??
?Sallocate(I)Ljava/nio/CharBuffer;??
?? !	?set(Ljava/lang/Object;)V??
??clear()Ljava/nio/Buffer;??
??nioBufferCount?-
+?N(Ljava/nio/charset/CharsetDecoder;Ljava/nio/ByteBuffer;Ljava/nio/CharBuffer;)V??
?$()Lio/netty/buffer/ByteBufAllocator;??
+?6(Lio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf;7?
+?flip??
??
)!Ljava/nio/charset/CharsetDecoder;	maxLengthdecodeK(Ljava/nio/ByteBuffer;Ljava/nio/CharBuffer;Z)Ljava/nio/charset/CoderResult;??
??5(Ljava/nio/CharBuffer;)Ljava/nio/charset/CoderResult;?
?threadLocalDirectBuffer"!	(io/netty/util/internal/PlatformDependent	hasUnsafe?
	newInstance>()Lio/netty/buffer/ByteBufUtil$ThreadLocalUnsafeDirectByteBuf;


8()Lio/netty/buffer/ByteBufUtil$ThreadLocalDirectByteBuf;
(Lio/netty/buffer/ByteBuf;)[B(Lio/netty/buffer/ByteBuf;II)[B3
 (Lio/netty/buffer/ByteBuf;IIZ)[B3
startio/netty/util/internal/MathUtil
isOutOfBounds(III)Z
java/lang/StringBuilder ??
!"expected: 0 <= start($append-(Ljava/lang/String;)Ljava/lang/StringBuilder;&'
!((I)Ljava/lang/StringBuilder;&*
!+) <= start + length(-) <= buf.capacity(/(C)Ljava/lang/StringBuilder;&1
!2
!)
@?hasArray6?
+7
+l
+ijava/util/Arrays;copyOfRange([BII)[B=>
<?(I[B)Lio/netty/buffer/ByteBuf;3A
+B
baseOffsetcopyv7(Lio/netty/util/AsciiString;Lio/netty/buffer/ByteBuf;)V
gS9(Lio/netty/util/AsciiString;ILio/netty/buffer/ByteBuf;I)VEI
J:(Lio/netty/util/AsciiString;ILio/netty/buffer/ByteBuf;II)Vexpected: 0 <= srcIdx(M) <= srcIdx + length(O) <= srcLen(Q?!io/netty/util/internal/ObjectUtilTcheckNotNull8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;VW
UXsetBytes (I[BII)Lio/netty/buffer/ByteBuf;Z[
+\srcIdxdstIdx
prettyHexDump`3
a
access$200c3

doffsetappendPrettyHexDump5(Ljava/lang/StringBuilder;Lio/netty/buffer/ByteBuf;)V7(Ljava/lang/StringBuilder;Lio/netty/buffer/ByteBuf;II)Vgi
jdumpLjava/lang/StringBuilder;
access$300ni

oisText6(Lio/netty/buffer/ByteBuf;Ljava/nio/charset/Charset;)Z8(Lio/netty/buffer/ByteBuf;IILjava/nio/charset/Charset;)Zqs
t?index: x	 length: z(Ljava/lang/Object;)Zv|
?}isUtf8(Lio/netty/buffer/ByteBuf;II)Z?
?isAscii??
?"java/nio/charset/CodingErrorAction?REPORT$Ljava/nio/charset/CodingErrorAction;??	???(Ljava/nio/charset/Charset;Ljava/nio/charset/CodingErrorAction;Ljava/nio/charset/CodingErrorAction;)Ljava/nio/charset/CharsetDecoder;??
,?,(Ljava/nio/ByteBuffer;)Ljava/nio/CharBuffer;??
??ignoreindexmaxIndex&'	?b2b3b4b1endIndex
"thisLio/netty/buffer/ByteBufUtil;
access$5004io/netty/util/internal/logging/InternalLoggerFactory?getInstanceB(Ljava/lang/Class;)Lio/netty/util/internal/logging/InternalLogger;??
??	?
"io.netty.allocator.type?	isAndroid??
?unpooled?pooled?)io/netty/util/internal/SystemPropertyUtil?8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;??
??java/util/Locale?USLjava/util/Locale;??	??toLowerCase&(Ljava/util/Locale;)Ljava/lang/String;??
2?trim?(
2?
2}(io/netty/buffer/UnpooledByteBufAllocator?DEFAULT*Lio/netty/buffer/UnpooledByteBufAllocator;??	??-Dio.netty.allocator.type: {}?-io/netty/util/internal/logging/InternalLogger?debug'(Ljava/lang/String;Ljava/lang/Object;)V????&io/netty/buffer/PooledByteBufAllocator?(Lio/netty/buffer/PooledByteBufAllocator;??	??/-Dio.netty.allocator.type: pooled (unknown: {})?$%	?$io.netty.threadLocalDirectBufferSize?(Ljava/lang/String;I)Id?
??*-Dio.netty.threadLocalDirectBufferSize: {}?valueOf(I)Ljava/lang/Integer;??
??%io.netty.maxThreadLocalCharBufferSize?+-Dio.netty.maxThreadLocalCharBufferSize: {}?
"	allocTypeLjava/lang/String;	Signature
ConstantValueCodeLocalVariableTableLineNumberTable
StackMapTable
SourceFileInnerClasses1?? !"!#!$%&'6	()?7
**?/*?2?5??
67?d	(3?E*?:?? 67;!<!?l	(=?2**??@??AB?t	(>?E*?E?? AB;!<!?|	FG?:*?K??LMN!??	OP?6**?T?W??(M??	OU?E*?W?? (M;!<!??	XY??*?2<|=~>6*?/6*?]?c?%6?h*?g`6??????%6?h*?g?j`6??????6?h*??n`6??????6??\	#o!Eo!go!?67?p!	?q!
?r!~X!xs!?R??	?
??? ?(?6?9?B?J?[?^?d?l?}????????%?#+?????	tu??8+?2*?2d`=>?&**?/++?/`*?2?y?
+?/`???????*(o!8z78{7,|!?&	???? ?#?)?0?6???!?	vw??????
?~Y????*??d?,??d??|6~6*?],?]?+6?*??,????????????+6?"*??,??????????????6?*?n,?n???????????f
K!o!s$o!? o!??7??!??7??!?<!5??!<?r!?j?
??-?/?5?<?G?P?^?`?c?f?o?x????????????????????????!
	??????	v??t*?2=+?2??**?/++?/?y?? ?7?7p!???
???	?u?9?*?2=+?2>??6|6~6*?/6+?/6??*?]?c??6	x6
*?]+?]?&	?*+
???*+
??7?#	?*+
???*+
??7	??????????
`6
`6`6		?#*??+??d6

?
??????d???p???y??	?%??Es?!
??!
?'?!	??7??7?p!
??!??!??!?r!#??!)??!?f	


#).?EPks???? ?!?$?%?&?'?$?+?3
?<	++@?%JJ??
??
????.`6?#*??+??e7	????????	??H
??&?!.?7.?7.?!.?!.?!?012 3#0,6?
??
????.`6?#*??+??e7	????????	??H
??&?!.?7.?7.?!.?!.?!?;<= >#;,A?
??
????.`6?#*??+??e7	????????	??H
??&?!.?7.?7.?!.?!.?!?FGH I#F,L?
??
????.`6?#*??+??e7	????????	??H
??&?!.?7.?7.?!.?!.?!?QRS T#Q,W?
??	t??n?*?Ϭ*?Ҭ?*67;!?!??_`
b?
	???/?۬????j	?e?p$x?~?~?|?~?<?~??<??$?!?!?qrs"u??"	he?/????!?|	???/???????	????4>*??:+??W>:?	??W?:?	??W?%%'%?44?%4674<!2??)?7?*
???????"?%?+??(?"++??++???
????%??<?
*???*d?Y????*%67%;!%?!%???????
????'*???<?
*???*d?Y????*'67';!'?!'???	????	
?Y*+???M,+?W,?? ?%M7????	??V*??-*?M,+??W,,?++?T? >,Y?`??*?"?*?&K???+?*?0?6M*,?:W,???4%;<%=!M	>BV7VM?.????%?/?1?8?@?M?S??0??	a66?S,?D6??*???H?-?**??z???H*???~???H???L???Q?*???H??,??D6?:*???H???T?'*???H*??Q????H???X6*??z???H*??z?~???H*??z?~???H*???~???H?<*??z???H*??z?~???H*???~???H????d?x??@?p?YZ?
[\??YZ?N]!@^ZVo!a6<a?!aMa_!^`!?? ?????,?4?F?[?c?k?u?x????????????????????????????/?D?V?\??N??%.O@??#R?R?Y?8?	?5*?T?bh??M?	c
?[*+?T??M,+?eW,?? ?%M
7?
	c?u+?T=+?g?+?gN*-?j-?m?pW?R*??(*?N-?W--?+?r6-Y?`??*?"?*?&K???*+?*?u?6?:W?????>vw0 ;<B=!u7uMn_!?> !"!#$%+&0'6(B)M*P+W-_/s3?	?$+c??$6?*?,?D?{?H??????4o!$6<$?!$M$_!?;	<;">?	??	|}?G	*+,???? 	?%	??	?.?F	|??Q	*+,????*	?%	??	?.	?!?S~?G?-??:,??????k?`66?*??:?
*??:?/??:		??6
,	??:?????	??:???????	??`
d??W6:?	??W?:	??Y	???:
?	??W
?6???6???????)?7D^??	KWN!
VL???
??	??%????????.??!????<!???6??7?bXYZ\],_6bDcKdVe^fchlitjyl?m?n?r?s?n?o?p?r?s?c?,??	+?,???%+?	????+?K??????+?????	??ɰ-??:??ҍk?6?Զ???:?????:??????	??W*???*????>*????:*??W?/??????W?:??W??????s??????Rs/67??7?,!?_!??.?????!%????Nyz|}~%/?6?>?I?O?W?g?s?|??????????.?@???/+???+??

????2*+,??N-???-??*,?N-???-???
N??Y-????$'??4??(	??2??2??2???*
????? ?$?'?(?1?????B?		$?H????
????????????		3?7
**?/*?2???
7??	3?F*??? 7!<!??	3??*???;?@Y?!Y?#%?)?,.?)?,0?)*??,)?3?4?5?*?8?.??*??*?9`6*?:`?@?*?:??:*?CW??>cD!?7?!?<!?E?{FB?.??2?D?K?[?c?q?v?{?????D	EG?C*+*?H?K???w?7?
?
?	EL??b*?H???_*??n6?~?????~??0??*??n6?~????~¢??~?hd??*??n6*??n6?~???~???~??~???~
???~?????~??d??*??n6*??n6*??n6?~???~???~????~??3?~??~???~???~?????????p<?wR??H??x??n??d?O?g7g?!g<!c?!??%??	????+?0?2?<?H?J?V?X?d?k?m?w??????????????????????????? ?"?^?`?b?e??.????
?+??A#?????/*?????????-????3??????????Y???Բ0??????b????	?????K*??????K?*?ř??L???*???0?*?ř??L???*?????L???*??+???߸????????@?????????Y??????*N?%k?%5???~J?%?Z56@AF"G1F5H@KJLNM]NgOkPzR~S?V?X?Y?[?\?m? n2?22?+2????2

	




© 2015 - 2025 Weber Informatics LLC | Privacy Policy