| Package | Description | 
|---|---|
| com.google.common.io | This package contains utility methods and classes for working with Java I/O;
 for example input streams, output streams, readers, writers, and files. | 
| Modifier and Type | Method and Description | 
|---|---|
| static ByteSink | Files. asByteSink(File file,
                    FileWriteMode... modes)Returns a new  ByteSinkfor writing bytes to the given file. | 
| ByteSink | BaseEncoding. encodingSink(CharSink encodedSink)Returns a  ByteSinkthat writes base-encoded bytes to the specifiedCharSink. | 
| Modifier and Type | Method and Description | 
|---|---|
| long | ByteSource. copyTo(ByteSink sink)Copies the contents of this byte source to the given  ByteSink. | 
Copyright © 2010-2014. All Rights Reserved.