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 ByteSink
Files. asByteSink(java.io.File file, FileWriteMode... modes)
Returns a newByteSink
for writing bytes to the given file.static ByteSink
MoreFiles. asByteSink(java.nio.file.Path path, java.nio.file.OpenOption... options)
Returns a view of the givenpath
as aByteSink
.ByteSink
BaseEncoding. encodingSink(CharSink encodedSink)
Returns aByteSink
that writes base-encoded bytes to the specifiedCharSink
.Methods in com.google.common.io with parameters of type ByteSink Modifier and Type Method Description long
ByteSource. copyTo(ByteSink sink)
Copies the contents of this byte source to the givenByteSink
.
-