/guava/android/guava/src/com/google/common/io/ByteSink.java
out.flush( ) ; long written = ByteStreams.copy( input, out) ;OutputStream out = closer.register( openStream( ) ) ;
OutputStream out = closer.register ( openStream ( ) ) ; long written = ByteStreams.copy ( input, out ) ; out.flush ( ) ;
} @CanIgnoreReturnValue public long writeFrom(InputStream input) throws IOException { checkNotNull(input); Closer closer = Closer.create(); try { <extra_id_0> return written; } catch (Throwable e) { throw closer.rethrow(e); } finally { closer.close(); }