com.huawei.opengauss.jdbc.charset.ZHS16GBKHandler$Encoder.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of opengaussjdbc Show documentation
Show all versions of opengaussjdbc Show documentation
HuaweiCloud JDBC for GaussDB
The newest version!
???? 4 ? 9com/huawei/opengauss/jdbc/charset/ZHS16GBKHandler$Encoder java/nio/charset/CharsetEncoder ZHS16GBKHandler.java 1com/huawei/opengauss/jdbc/charset/ZHS16GBKHandler Encoder MAX_SINGLE_BYTE I ? c2b [C c2bIndex !(Ljava/nio/charset/Charset;[C[C)V (Ljava/nio/charset/Charset;FF)V
this ;Lcom/huawei/opengauss/jdbc/charset/ZHS16GBKHandler$Encoder; cs Ljava/nio/charset/Charset; initC2B ,([Ljava/lang/String;Ljava/lang/String;[C[C)V ?? java/util/Arrays fill ([CC)V ! "
#
java/lang/String & toCharArray ()[C ( )
' * [[C , handleSingleByte
([C[C[CI)I . /
0 handleDoubleByte ([C[CII[C)I 2 3
4 i db b1 b2c [Ljava/lang/String; b2cSB Ljava/lang/String; b2cCa b2cSBCa off c C index b offset b2 b2Min b2Max canEncode (C)Z
encodeChar (C)I J K
L encodeArrayLoop J(Ljava/nio/CharBuffer;Ljava/nio/ByteBuffer;)Ljava/nio/charset/CoderResult; java/nio/CharBuffer P array R )
Q S arrayOffset ()I U V
Q W position Y V
Q Z limit \ V
Q ] java/nio/ByteBuffer _ ()[B R a
` b
` W
` Z
` ] [B g java/nio/charset/CoderResult i unmappableForLength !(I)Ljava/nio/charset/CoderResult; k l
j m (I)Ljava/nio/Buffer; Y o
Q p
` p OVERFLOW Ljava/nio/charset/CoderResult; s t j u UNDERFLOW w t j x java/lang/Throwable z bb src Ljava/nio/CharBuffer; dst Ljava/nio/ByteBuffer; sa sp sl da dp dl encodeBufferLoop hasRemaining ()Z ? ?
Q ? get ()C ? ?
Q ? remaining ? V
` ? put (B)Ljava/nio/ByteBuffer; ? ?
` ? mark
encodeLoop hasArray ? ?
Q ?
` ? N O
? ? O
? ch
ConstantValue Code LocalVariableTable LineNumberTable
StackMapTable
SourceFile InnerClasses !
?
? f *+
? *,? *-? ? ? *
? ? ? ? ? ? ? ?,? $*?? %::+? +? +:6*?? *2? ? *2? +S???? 6? ,-? 166*?? %2:? ? ,-? 56???ڱ ? f
# 6
f 7
X ) 8
? 9 : ? ; <