
com.google.common.io.ByteSink.class Maven / Gradle / Ivy
???? 2 j
A B
C
D E
F
G H
I J
I K L
M
N
I O P
I Q
R S T U V InnerClasses
AsCharSink ()V Code LineNumberTable LocalVariableTable this Lcom/google/common/io/ByteSink;
asCharSink ;(Ljava/nio/charset/Charset;)Lcom/google/common/io/CharSink; charset Ljava/nio/charset/Charset;
openStream ()Ljava/io/OutputStream;
Exceptions W openBufferedStream out Ljava/io/OutputStream;
StackMapTable L E write ([B)V e Ljava/lang/Throwable; bytes [B closer Lcom/google/common/io/Closer; T 1 X P writeFrom (Ljava/io/InputStream;)J written J input Ljava/io/InputStream; Y
SourceFile
ByteSink.java (com/google/common/io/ByteSink$AsCharSink Z " # java/io/BufferedOutputStream [ \ ] ^ X _ ` a b java/io/OutputStream , - c d java/lang/Throwable e f g h i com/google/common/io/ByteSink java/lang/Object com/google/common/io/ByteSink$1 java/io/IOException com/google/common/io/Closer java/io/InputStream ](Lcom/google/common/io/ByteSink;Ljava/nio/charset/Charset;Lcom/google/common/io/ByteSink$1;)V (Ljava/io/OutputStream;)V $com/google/common/base/Preconditions checkNotNull &(Ljava/lang/Object;)Ljava/lang/Object; create ()Lcom/google/common/io/Closer; register ((Ljava/io/Closeable;)Ljava/io/Closeable; flush close rethrow 3(Ljava/lang/Throwable;)Ljava/lang/RuntimeException; com/google/common/io/ByteStreams copy .(Ljava/io/InputStream;Ljava/io/OutputStream;)J! / *? ? 4 ? ? Y*+? ? ; ! " # $ % &