org.postgresql.util.ReaderInputStream.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of huaweicloud-dws-jdbc Show documentation
Show all versions of huaweicloud-dws-jdbc Show documentation
Data Warehouse Service JDBC driver
???? 2 ? q
r
9 s t u v
w x y z
{ | }
~ ?
~ ?
? ? ?
? ? ? ? ?
s
~ ? ?
s ?
?
? ?
~ ?
? ?
?
?
? ?
? ?
? ?
? ?
~ ?
? ?
?
? ?
? ?
? ?
? ?
- s ?
/ s
~ ?
? ?
~ ?
?
? ?
? ? ?
{ ? ? DEFAULT_CHAR_BUFFER_SIZE I
ConstantValue UTF_8 Ljava/nio/charset/Charset; reader Ljava/io/Reader; encoder !Ljava/nio/charset/CharsetEncoder; bbuf Ljava/nio/ByteBuffer; cbuf Ljava/nio/CharBuffer;
endOfInput Z oneByte [B $assertionsDisabled (Ljava/io/Reader;)V Code LineNumberTable LocalVariableTable this 'Lorg/postgresql/util/ReaderInputStream; (Ljava/io/Reader;I)V charBufferSize
StackMapTable q ? advance ()V n result Ljava/nio/charset/CoderResult; ?
Exceptions ? checkEncodeResult !(Ljava/nio/charset/CoderResult;)V ? read ()I res ([BII)I remaining b off len totalRead close
SourceFile ReaderInputStream.java %org/postgresql/util/ReaderInputStream M T M Z J K "java/lang/IllegalArgumentException reader cannot be null M ? 'charBufferSize must be at least 2 chars @ A > ? ? ? ? B C ? ? ? D E ? ? ? ? ? F G L I H I java/lang/AssertionError ? ? java/lang/StringBuilder Cadvance() should be called when output byte buffer is empty. bbuf: ? ? ? ?
, as string: ? ? ? ? M ? h e ? ? ? ? ? d ? ? ? ? a b ? ? ? ? ? ? Z d ? java/lang/NullPointerException #java/lang/IndexOutOfBoundsException ? ? ? ? ? Y Z m Z ? ? ? UTF-8 ? ? java/io/InputStream java/io/Reader java/nio/charset/CoderResult java/io/IOException )java/nio/charset/CharacterCodingException (Ljava/lang/String;)V java/nio/charset/Charset
newEncoder #()Ljava/nio/charset/CharsetEncoder; java/nio/ByteBuffer allocate (I)Ljava/nio/ByteBuffer; flip ()Ljava/nio/Buffer; java/nio/CharBuffer (I)Ljava/nio/CharBuffer; hasRemaining ()Z append -(Ljava/lang/String;)Ljava/lang/StringBuilder; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; asCharBuffer ()Ljava/nio/CharBuffer; toString ()Ljava/lang/String; (Ljava/lang/Object;)V clear compact (Ljava/nio/CharBuffer;)I java/nio/charset/CharsetEncoder encode K(Ljava/nio/CharBuffer;Ljava/nio/ByteBuffer;Z)Ljava/nio/charset/CoderResult; flush 5(Ljava/nio/ByteBuffer;)Ljava/nio/charset/CoderResult; isError throwException ([B)I java/lang/Math min (II)I get ([BII)Ljava/nio/ByteBuffer; java/lang/Class desiredAssertionStatus forName .(Ljava/lang/String;)Ljava/nio/charset/Charset; ! 9 : ; <