- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 11 for ByteSink (0.05 seconds)
-
android/guava-tests/test/com/google/common/io/ByteSourceTest.java
private static final ByteSource BROKEN_READ_SOURCE = new TestByteSource(new byte[10], READ_THROWS); private static final ByteSink BROKEN_CLOSE_SINK = new TestByteSink(CLOSE_THROWS); private static final ByteSink BROKEN_OPEN_SINK = new TestByteSink(OPEN_THROWS); private static final ByteSink BROKEN_WRITE_SINK = new TestByteSink(WRITE_THROWS); private static final ImmutableSet<ByteSource> BROKEN_SOURCES =Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 15.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/ByteSourceTest.java
private static final ByteSource BROKEN_READ_SOURCE = new TestByteSource(new byte[10], READ_THROWS); private static final ByteSink BROKEN_CLOSE_SINK = new TestByteSink(CLOSE_THROWS); private static final ByteSink BROKEN_OPEN_SINK = new TestByteSink(OPEN_THROWS); private static final ByteSink BROKEN_WRITE_SINK = new TestByteSink(WRITE_THROWS); private static final ImmutableSet<ByteSource> BROKEN_SOURCES =Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 15.6K bytes - Click Count (0) -
android/guava/src/com/google/common/io/BaseEncoding.java
public abstract OutputStream encodingStream(Writer writer); /** * Returns a {@code ByteSink} that writes base-encoded bytes to the specified {@code CharSink}. */ @J2ktIncompatible @GwtIncompatible // ByteSink,CharSink public final ByteSink encodingSink(CharSink encodedSink) { checkNotNull(encodedSink); return new ByteSink() { @Override public OutputStream openStream() throws IOException {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 41.6K bytes - Click Count (0) -
android/guava/src/com/google/common/io/Files.java
* will append to the end of the file without truncating it. * * @since 14.0 */ public static ByteSink asByteSink(File file, FileWriteMode... modes) { return new FileByteSink(file, modes); } private static final class FileByteSink extends ByteSink { private final File file; private final ImmutableSet<FileWriteMode> modes;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jan 05 22:13:21 GMT 2026 - 32.8K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
import com.google.common.collect.Table; import com.google.common.collect.Tables; import com.google.common.collect.TreeBasedTable; import com.google.common.collect.TreeMultimap; import com.google.common.io.ByteSink; import com.google.common.io.ByteSource; import com.google.common.io.ByteStreams; import com.google.common.io.CharSink; import com.google.common.io.CharSource; import com.google.common.primitives.Primitives;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 21.4K bytes - Click Count (0) -
android/guava/src/com/google/common/io/MoreFiles.java
* WRITE} options. */ public static ByteSink asByteSink(Path path, OpenOption... options) { return new PathByteSink(path, options); } @IgnoreJRERequirement // *should* be redundant with the one on MoreFiles itself private static final class PathByteSink extends ByteSink { private final Path path; private final OpenOption[] options;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Apr 14 16:07:06 GMT 2025 - 34.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
import com.google.common.collect.Table; import com.google.common.collect.Tables; import com.google.common.collect.TreeBasedTable; import com.google.common.collect.TreeMultimap; import com.google.common.io.ByteSink; import com.google.common.io.ByteSource; import com.google.common.io.ByteStreams; import com.google.common.io.CharSink; import com.google.common.io.CharSource; import com.google.common.primitives.Primitives;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 20.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/SourceSinkFactories.java
private final byte[] initialBytes; private FileByteSinkFactory(byte @Nullable [] initialBytes) { this.initialBytes = initialBytes; } @Override public ByteSink createSink() throws IOException { File file = createFile(); if (initialBytes != null) { FileOutputStream out = new FileOutputStream(file); try { out.write(initialBytes);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 12.7K bytes - Click Count (0) -
android/guava/src/com/google/common/io/ByteSource.java
} } /** * Copies the contents of this byte source to the given {@code ByteSink}. * * @return the number of bytes copied * @throws IOException if an I/O error occurs while reading from this source or writing to {@code * sink} */ @CanIgnoreReturnValue public long copyTo(ByteSink sink) throws IOException { checkNotNull(sink); Closer closer = Closer.create();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 08 18:35:13 GMT 2025 - 25.7K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java
import com.google.common.collect.SortedMapDifference; import com.google.common.collect.SortedMultiset; import com.google.common.collect.SortedSetMultimap; import com.google.common.collect.Table; import com.google.common.io.ByteSink; import com.google.common.io.ByteSource; import com.google.common.io.CharSink; import com.google.common.io.CharSource; import com.google.common.primitives.UnsignedInteger; import com.google.common.primitives.UnsignedLong;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 22.8K bytes - Click Count (0)