![JAR search and dependency download from the Maven repository](/logo.png)
com.google.common.io.ByteSink.class Maven / Gradle / Ivy
???? 4 k
C D
E
F G
H
I J
3 K
3 L M
N
O
3 P Q
3 R
S T U V W 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; MethodParameters
openStream ()Ljava/io/OutputStream;
Exceptions X openBufferedStream out Ljava/io/OutputStream;
StackMapTable write ([B)V e Ljava/lang/Throwable; bytes [B closer Lcom/google/common/io/Closer; / Y writeFrom (Ljava/io/InputStream;)J written J input Ljava/io/InputStream; Z RuntimeInvisibleAnnotations 8Lcom/google/errorprone/annotations/CanIgnoreReturnValue;
SourceFile
ByteSink.java RuntimeVisibleAnnotations 6Lcom/google/common/io/ElementTypesAreNonnullByDefault; 0Lcom/google/common/annotations/J2ktIncompatible; /Lcom/google/common/annotations/GwtIncompatible; (com/google/common/io/ByteSink$AsCharSink [ " # java/io/BufferedOutputStream \ ] ^ _ ` a b c java/io/OutputStream * + d e java/lang/Throwable f g h i j 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! / *? ? 7 ? ? Y*+? ? > ! " # $ % &