com.huawei.opengauss.jdbc.util.ReaderInputStream.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 ? 0com/huawei/opengauss/jdbc/util/ReaderInputStream java/io/InputStream ReaderInputStream.java DEFAULT_CHAR_BUFFER_SIZE I 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 (Ljava/io/Reader;I)V
this 2Lcom/huawei/opengauss/jdbc/util/ReaderInputStream; ()V
" "java/lang/IllegalArgumentException $ reader cannot be null & (Ljava/lang/String;)V (
% ) java/io/Reader + 'charBufferSize must be at least 2 chars - /
1 java/nio/charset/Charset 3
newEncoder #()Ljava/nio/charset/CharsetEncoder; 5 6
4 7
9 java/nio/ByteBuffer ; allocate (I)Ljava/nio/ByteBuffer; = >
<