io.netty.buffer.ByteBufUtil$HexUtil.class Maven / Gradle / Ivy
???? 2 ? #io/netty/buffer/ByteBufUtil$HexUtil java/lang/Object ByteBufUtil.java io/netty/buffer/ByteBufUtil HexUtil BYTE2CHAR [C
HEXDUMP_TABLE
HEXPADDING [Ljava/lang/String; HEXDUMP_ROWPREFIXES BYTE2HEX BYTEPADDING ()V
this %Lio/netty/buffer/ByteBufUtil$HexUtil; hexDump /(Lio/netty/buffer/ByteBuf;II)Ljava/lang/String; "java/lang/IllegalArgumentException java/lang/StringBuilder
length: append -(Ljava/lang/String;)Ljava/lang/StringBuilder; !
" (I)Ljava/lang/StringBuilder; $
% toString ()Ljava/lang/String; ' (
) (Ljava/lang/String;)V +
, . io/netty/buffer/ByteBuf 0
3 getUnsignedByte (I)S 5 6
1 7 java/lang/System 9 arraycopy *(Ljava/lang/Object;ILjava/lang/Object;II)V ; <
: = java/lang/String ? ([C)V A
@ B buffer Lio/netty/buffer/ByteBuf; fromIndex I length endIndex buf srcIdx dstIdx ([BII)Ljava/lang/String; [B N array
prettyHexDump (I)V R
S appendPrettyHexDump 7(Ljava/lang/StringBuilder;Lio/netty/buffer/ByteBuf;II)V U V
W rows Ljava/lang/StringBuilder; offset capacity ()I \ ]
1 ^ io/netty/util/internal/MathUtil `
isOutOfBounds (III)Z b c
a d #java/lang/IndexOutOfBoundsException f expected: 0 <= offset( h ) <= offset + length( j ) <= buf.capacity( l (C)Ljava/lang/StringBuilder; n
o
g , < +-------------------------------------------------+ r !io/netty/util/internal/StringUtil t NEWLINE Ljava/lang/String; v w u x < | 0 1 2 3 4 5 6 7 8 9 a b c d e f | z M+--------+-------------------------------------------------+----------------+ | appendHexDumpRowPrefix (Ljava/lang/StringBuilder;II)V ~
?
? | ?
?
?
? j
rowStartIndex rowEndIndex row dump
startIndex fullRows remainder
? ???? java/lang/Long ? toHexString (J)Ljava/lang/String; ? ?
? ? H ]
? setCharAt (IC)V ? ?
?
access$000
? x0 x1 x2
access$100 M
?
access$200 Q
?
access$300 x3 0123456789abcdef ? toCharArray ()[C ? ?
@ ? ? byteToHexStringPadded (I)Ljava/lang/String; ? ?
u ? i padding DIGITS Code LocalVariableTable LineNumberTable
StackMapTable
SourceFile InnerClasses 0
? / *? ? ? ? /
? c? ? Y? Y? ? #? &? *? -?? /?`>x?:66? ? 4*? 8x? >????? @Y? C? ? H c D E c F G c H G * 9 I G 1 2 J
4 / K G 7 , L G ? : o p r #s &v *w 1y 4z 7{ =| C} M| P{ Y? ? ? 1 2 !
M ? e? ? Y? Y? ? #? &? *? -?? /?`>x?:66? !? 4*3 ?~x? >???? @Y? C? ? H e P N e F G e H G * ; I G 1 4 J
4 1 K G 7 . L G ? 2 ? ? ? #? &? *? 1? 4? 7? =? R? [? ? ? O 2 #
Q ? ? 6? /?lp? ? ``>? YPh? T:*? X? *? ? 4 Y G ( J Z 6 D E 6 [ G 6 H G ? ? ? ? ? (? 0? ? N? 1
U V ? ) ?+? _? e? 8? gY? Y? i? #? &k? #? &m? #+? _? &)? p? *? q?? ?*? Y? s? #? y? #{? #? y? #}? #? *? #W6|6~66? ox`6*? ?`6 6
? *? ?+
? 82? #W?
???*?? #W6
? *? ?+
? 84? pW?
???*|? pW????? x`6*? ?`66 ? *? ?+ ? 82? #W? ???*? ?2? #W*?? #W6 ? *? ?+ ? 84? pW? ???*? ?2? #W*|? pW*? Y? ? y? #}? #? *? #W? ? ? ? ? G
? ? G
? ] ? G ? N ? G ? s ? G ? G G ? G s ? G d ? G ? ? Z ? J E ? [ G ? H G s ? G x ? G ~ ? G ? ? &