Uses of Class
com.google.common.io.ByteSink
-
Packages that use ByteSink Package Description com.google.common.io Utility methods and classes for I/O; for example input streams, output streams, readers, writers, and files. -
-
Uses of ByteSink in com.google.common.io
Methods in com.google.common.io that return ByteSink Modifier and Type Method Description static ByteSinkFiles. asByteSink(java.io.File file, FileWriteMode... modes)Returns a newByteSinkfor writing bytes to the given file.static ByteSinkMoreFiles. asByteSink(java.nio.file.Path path, java.nio.file.OpenOption... options)Returns a view of the givenpathas aByteSink.ByteSinkBaseEncoding. encodingSink(CharSink encodedSink)Returns aByteSinkthat writes base-encoded bytes to the specifiedCharSink.Methods in com.google.common.io with parameters of type ByteSink Modifier and Type Method Description longByteSource. copyTo(ByteSink sink)Copies the contents of this byte source to the givenByteSink.
-