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

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

There is a newer version: 198
Show newest version
????23com/groupbyinc/flux/common/netty/buffer/ByteBufUtiljava/lang/ObjectByteBufUtil.javaLcom/groupbyinc/flux/common/netty/buffer/ByteBufUtil$ThreadLocalDirectByteBufThreadLocalDirectByteBufRcom/groupbyinc/flux/common/netty/buffer/ByteBufUtil$ThreadLocalUnsafeDirectByteBuf	ThreadLocalUnsafeDirectByteBuf;com/groupbyinc/flux/common/netty/buffer/ByteBufUtil$HexUtilHexUtil5com/groupbyinc/flux/common/netty/buffer/ByteBufUtil$25com/groupbyinc/flux/common/netty/buffer/ByteBufUtil$1Dcom/groupbyinc/flux/common/netty/util/ByteProcessor$IndexOfProcessor3com/groupbyinc/flux/common/netty/util/ByteProcessorIndexOfProcessorloggerGLcom/groupbyinc/flux/common/netty/util/internal/logging/InternalLogger;CHAR_BUFFERSBLcom/groupbyinc/flux/common/netty/util/concurrent/FastThreadLocal;YLcom/groupbyinc/flux/common/netty/util/concurrent/FastThreadLocal;WRITE_UTF_UNKNOWNB?MAX_CHAR_BUFFER_SIZEITHREAD_LOCAL_BUFFER_SIZEMAX_BYTES_PER_CHAR_UTF8DEFAULT_ALLOCATOR:Lcom/groupbyinc/flux/common/netty/buffer/ByteBufAllocator;FIND_NON_ASCII5Lcom/groupbyinc/flux/common/netty/util/ByteProcessor;hexDumpE(Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;)Ljava/lang/String;/com/groupbyinc/flux/common/netty/buffer/ByteBuf*readerIndex()I,-
+.
readableBytes0-
+1G(Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;II)Ljava/lang/String;(3
4buffer1Lcom/groupbyinc/flux/common/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)B9com/groupbyinc/flux/common/netty/util/internal/StringUtilHFG
IJsLjava/lang/CharSequence;pos
decodeHexDump(Ljava/lang/CharSequence;)[Bjava/lang/CharSequenceQ<-RS(Ljava/lang/CharSequence;II)[BOU
IVensureWritableSuccess(I)ZensureWritableResulthashCode4(Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;)Iorder()Ljava/nio/ByteOrder;]^
+_java/nio/ByteOrdera
BIG_ENDIANLjava/nio/ByteOrder;cd	begetInt(I)Igh
+iswapIntkh
lgetByte(I)Bno
+piaLenintCount	byteCount
arrayIndexindexOfe(Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;)Iequalsh(Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;ILcom/groupbyinc/flux/common/netty/buffer/ByteBuf;II)Zyz
{needlehaystackattempts"java/lang/IllegalArgumentException?,All indexes and lengths must be non-negative?(Ljava/lang/String;)V??
??writerIndex?-
+?getLong(I)J??
+?swapLong(J)J??
?aaStartIndexbbStartIndex	longCounte(Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;)ZbufferAbufferBcomparejava/lang/Math?min(II)I??
??compareUintBigEndianh(Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;III)J??
?compareUintLittleEndian??
?compareUintBigEndianA??
?compareUintBigEndianB??
?????????max(JJ)J??
????
??getUnsignedByte(I)S??
+?resJbufferAIsBigEndianZuintCountIncrementcompaEndbLen	minLength	uintCountaIndexbIndexgetUnsignedInt??
+?getUnsignedIntLE??
+?7(Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;IIB)IfirstIndexOf??
?lastIndexOf??
?toIndexvalue	swapShort(S)Sjava/lang/Short?reverseBytes??
??S
swapMedium????swappedjava/lang/Integer??h
??java/lang/Long???
??writeShortBEe(Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;I)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;
writeShort4(I)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;??
+?writeShortLE??
+?buf
shortValue
setShortBEf(Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;II)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;setShort5(II)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;??
+?
setShortLE??
+index
writeMediumBEwriteMedium?
+
writeMediumLE?
+mediumValue	readBytes?(Lcom/groupbyinc/flux/common/netty/buffer/ByteBufAllocator;Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;I)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;8com/groupbyinc/flux/common/netty/buffer/ByteBufAllocator
6?d(Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;
+release()Z
+java/lang/Throwableallocdst??
?capacity-
+(B)V?!
"forEachByte:(IILcom/groupbyinc/flux/common/netty/util/ByteProcessor;)I$%
+&forEachByteDesc(%
+)	writeUtf8?(Lcom/groupbyinc/flux/common/netty/buffer/ByteBufAllocator;Ljava/lang/CharSequence;)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;utf8MaxBytes(Ljava/lang/CharSequence;)I-.
/L(Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;Ljava/lang/CharSequence;)I+1
2seq7com/groupbyinc/flux/common/netty/buffer/AbstractByteBuf5ensureWritable0(I)V78
69?!	6;V(Lcom/groupbyinc/flux/common/netty/buffer/AbstractByteBuf;ILjava/lang/CharSequence;I)I+=
>6com/groupbyinc/flux/common/netty/buffer/WrappedByteBuf@unwrap3()Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;BC
+DtoString()Ljava/lang/String;FGRH1com/groupbyinc/flux/common/netty/util/CharsetUtilJUTF_8Ljava/nio/charset/Charset;LM	KNjava/lang/StringPgetBytes(Ljava/nio/charset/Charset;)[BRS
QT
writeBytes5([B)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;VW
+XbyteBuf9Lcom/groupbyinc/flux/common/netty/buffer/AbstractByteBuf;writtenbytes#java/lang/IndexOutOfBoundsException^charAt(I)C`aRb_setByte(II)Vde
6fisSurrogate(C)Zhi
Ijjava/lang/CharacterlisHighSurrogateni
moisLowSurrogateqi
mrtoCodePoint(CC)Itu
mvc2Ce%Ljava/lang/IndexOutOfBoundsException;	codePointclenoldWriterIndex#!	?
writeAscii?1
?1com/groupbyinc/flux/common/netty/util/AsciiString?()[BA?
??arrayOffset?-
??7([BII)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;V?
+??=
?US_ASCII?M	K?asciiString3Lcom/groupbyinc/flux/common/netty/util/AsciiString;c2b(C)B??
??encodeString?(Lcom/groupbyinc/flux/common/netty/buffer/ByteBufAllocator;Ljava/nio/CharBuffer;Ljava/nio/charset/Charset;)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;
encodeString0?(Lcom/groupbyinc/flux/common/netty/buffer/ByteBufAllocator;ZLjava/nio/CharBuffer;Ljava/nio/charset/Charset;I)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;??
?srcLjava/nio/CharBuffer;charset?(Lcom/groupbyinc/flux/common/netty/buffer/ByteBufAllocator;Ljava/nio/CharBuffer;Ljava/nio/charset/Charset;I)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;
extraCapacity)java/nio/charset/CharacterCodingException?encoder=(Ljava/nio/charset/Charset;)Ljava/nio/charset/CharsetEncoder;??
K?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;decodeStringa(Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;IILjava/nio/charset/Charset;)Ljava/lang/String;?decoder=(Ljava/nio/charset/Charset;)Ljava/nio/charset/CharsetDecoder;??
K?java/nio/charset/CharsetDecoder?maxCharsPerByte??
??	?@com/groupbyinc/flux/common/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?

<()Lcom/groupbyinc/flux/common/netty/buffer/ByteBufAllocator;
+V?
+flip
?
H!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"!	"@com/groupbyinc/flux/common/netty/util/internal/PlatformDependent$	hasUnsafe&
%'newInstanceV()Lcom/groupbyinc/flux/common/netty/buffer/ByteBufUtil$ThreadLocalUnsafeDirectByteBuf;)*

+P()Lcom/groupbyinc/flux/common/netty/buffer/ByteBufUtil$ThreadLocalDirectByteBuf;)-
.5(Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;)[B7(Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;II)[BR1
28(Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;IIZ)[BR4
5start7com/groupbyinc/flux/common/netty/util/internal/MathUtil8
isOutOfBounds(III)Z:;
9<java/lang/StringBuilder>??
?@expected: 0 <= start(Bappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;DE
?F(I)Ljava/lang/StringBuilder;DH
?I) <= start + length(K) <= buf.capacity(M(C)Ljava/lang/StringBuilder;DO
?P
?H
_?hasArrayT
+U
+?
+?java/util/ArraysYcopyOfRange([BII)[B[\
Z]6(I[B)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;R_
+`
baseOffsetcopyvg(Lcom/groupbyinc/flux/common/netty/util/AsciiString;Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;)V
?Si(Lcom/groupbyinc/flux/common/netty/util/AsciiString;ILcom/groupbyinc/flux/common/netty/buffer/ByteBuf;I)Vcg
hj(Lcom/groupbyinc/flux/common/netty/util/AsciiString;ILcom/groupbyinc/flux/common/netty/buffer/ByteBuf;II)Vexpected: 0 <= srcIdx(k) <= srcIdx + length(m) <= srcLen(o9com/groupbyinc/flux/common/netty/util/internal/ObjectUtilrcheckNotNull8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;tu
svsetBytes8(I[BII)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;xy
+zsrcIdxdstIdx
prettyHexDump~3

access$200?3

?offsetappendPrettyHexDumpM(Ljava/lang/StringBuilder;Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;)VO(Ljava/lang/StringBuilder;Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;II)V??
?dumpLjava/lang/StringBuilder;
access$300??

?isTextN(Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;Ljava/nio/charset/Charset;)ZP(Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;IILjava/nio/charset/Charset;)Z??
???index: ?	 length: ?(Ljava/lang/Object;)Zy?
??isUtf86(Lcom/groupbyinc/flux/common/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;??
K?,(Ljava/nio/ByteBuffer;)Ljava/nio/CharBuffer;?
??ignoremaxIndex&'	?b2b3b4b1endIndex
@this5Lcom/groupbyinc/flux/common/netty/buffer/ByteBufUtil;
access$500Lcom/groupbyinc/flux/common/netty/util/internal/logging/InternalLoggerFactory?getInstanceZ(Ljava/lang/Class;)Lcom/groupbyinc/flux/common/netty/util/internal/logging/InternalLogger;??
??	?
@/com.groupbyinc.flux.common.netty.allocator.type?	isAndroid?
%?unpooled?pooled?Acom/groupbyinc/flux/common/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;??
Q?trim?G
Q?
Q?@com/groupbyinc/flux/common/netty/buffer/UnpooledByteBufAllocator?DEFAULTBLcom/groupbyinc/flux/common/netty/buffer/UnpooledByteBufAllocator;??	??-Dio.netty.allocator.type: {}?Ecom/groupbyinc/flux/common/netty/util/internal/logging/InternalLogger?debug'(Ljava/lang/String;Ljava/lang/Object;)V????>com/groupbyinc/flux/common/netty/buffer/PooledByteBufAllocator?@Lcom/groupbyinc/flux/common/netty/buffer/PooledByteBufAllocator;??	??/-Dio.netty.allocator.type: pooled (unknown: {})?$%	?E*?E? AB;!<!|	FG:*?K?LMN!?	OP6**?T?W?(M?	OUE*?W? (M;!<!?	XYE????Z!?	@	[\?*?2<|=~>6*?/6*?`?f?%6?h*?j`6??????%6?h*?j?m`6??????6?h*??q`6??????6?\	#r!Er!gr!?67?s!	?t!
?u!~[!xv!R??	?
??? ?(?6?9?B?J?[?^?d?l?}???????%?#+?????	wx?8+?2*?2d`=>?&**?/++?/`*?2?|?
+?/`??????*(r!8}78~7,!&	???? ?#?)?0?6??!?	yz?????
??Y????*??d?,??d??|6~6*?`,?`?+6?*??,????????????+6?"*??,??????????????6?*?q,?q??????????f
K!r!s$r!? r!??7??!??7??!?<!5??!<?u!j?
??-?/?5?<?G?P?^?`?c?f?o?x???????????????????????!
	??????	y?t*?2=+?2??**?/++?/?|? ?7?7s!
	?	?x_
?*?2=+?2>??6|6~6*?/6+?/6??*?`?f??6	x6*?`+?`?&	?*+???*+??7
?#	?*+???*+??7

	????
??????`6`6`6		?#*??+??d6

?
??????d??p??
?y??	?%??
Es?!??!
?'?!	??7??7?s!
??!??!??!?u!#??!)??!f
#).?E P!k"s$?%?'?)?+?,?/?0?1?2?/?6Y
?<	++@?%
++JJ?++?
??
???.`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
??
???.`6?#*??+??e7	????????	?H
??&?!.?7.?7.?!.?!.?!\]^ _#\,b
??	w?n?*?Ҭ*?լ*67;!?!?jk
m
	??/?ެ??u	?hp$x?~?~?|?~?<?~??<?$?!?!|}~"??"	kh/???!?	??/??????	??Y*?`?f?*??*????7?!?D+	??e*?`?f?*???	*?? ?7!?!?E+	?Y*?`?f?*??*?	??7
!?D+	?4>*?:+?W>:?	?W?:?	?W?%%'%44%4674<!2?)7*
???????"?%?+?(?"++?++?
???%?<?
*? ??*d?Y?#?'?*%67%;!%?!%?????
???'*? ??<?
*? ??*d?Y?#?*?*'67';!'?!'??	???	+,Y*+?0?M,+?3W,? %4M?7???	+1?U*?6?,*?6M,+?0?:,,?<++?T??>,Y?<`?<?*?A?*?EK???+?I?O?UM*,?YW,??4$Z[$\!L	]BU?7U4M.????$?.?0?7???L?R?/+=?	a66?S,?c6??*???g?-?**??z???g*???~???g???k???p?*???g??,??c6?:*???g???s?'*???g*??p????g???w6*??z???g*??z?~???g*??z?~???g*???~???g?<*??z???g*??z?~???g*???~???g????d?x??_p?xy?
z{??xy?N|!@}yVr!a6[a?!a4Ma~!^!? ?????,?4?F[ckux???
?????????/DV?\!N??%.O_??#6R6?6R6?Y?8?	-.5*?T??h?4M(	?,[*+?T?M,+??W,? %4M
?75
67	?1+v+?T=+???+??N*-??-????W?S*?6?'*?6N-?:--?<+??6-Y?<`?<?*?A?*?EK???+?I???UN*-?YW-???H??0Z[A\!k	]Bv?7v4Mo~!FBCDE!F$H+I0J5KALLMONVP^RkSqTtX	?$*?=?$6?*?,?c???g?????4r!$6[$?!$4M$~!`	a`"c	??	??G	*+,??? 	%	??	?Mk	??Q	*+,???*	%	??	?M	?!x??G?-??:,??????k?`66?*??:?
*?:?/??:		??6
,	??:?˚??	??:?˚????	??`
d??W6:?	?W?:	??Y	?ܿ:
?	?W
?6???6??????)7D^??	KWN!
VL???
??	?%????????M??!????<!??6?7b}~??,?6?D?K?V?^?c?l?t?y???????????????????c?,??	+?,???%+?	???+?K????+???	???-??:???k?6?????:?????:??????	?W*??*????>*???:*?W?/????W?:?W????s?????Rs/67??7?,!?~!??M???!%??N?????%?/?6?>?I?O?W?g?s?|?????????.?@???/+???+?

??2*+,?N-?˚-??*,? N-?˚-?ϧ
N??Y-?ܿ?$'?4??(	??2?2??2?*
????? ?$?'?(?1????B?		!CH?#???(??,??/??????		R07
**?/*?2?3?
?7?	R1F*?6? ?77!<!?	R4?*? ?=?;?_Y??Y?AC?G?JL?G?JN?G*? ?J)?Q?R?S?*?V?.??*? ?*?W`6*?X`?^?*?X??:*?aW?>cb!??7?7!?<!?c?{dB.??2?D?K?[?c?qv{??D	ceC*+*?f?i???7

	cj?b*?f?=??_*??q6?~?????~??0??*??q6?~????~¢??~?hd??*??q6*??q6?~???~???~??~???~
???~?????~??d??*??q6*??q6*??q6?~???~???~????~??3?~??~???~???~????????p<?wR??H??x??n??d?O?g?7g!g<!c?!?%??	????+?0?2?<?H?J?V?X?d?k?m?w????????????????	???
? "^`be.????
?+??A#????/*??????-?#?3?????óŻY?Ƴ?O???????ȸ˙	ͧϸ?K*?ڶ޶?K?*????L???*???0?*????L???*?????L???*??+???????#???#???@?????	?????Y?
???*N%k%5?~J%Z56@AF"G1F5H@KJLNM]NgOkPzR~S?V?X?Y?[?\?? nQ?QQ?+Q?2

	




© 2015 - 2024 Weber Informatics LLC | Privacy Policy