- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for CountingOutputStream (0.18 seconds)
-
android/guava/src/com/google/common/io/CountingOutputStream.java
* @since 1.0 */ @J2ktIncompatible @GwtIncompatible public final class CountingOutputStream extends FilterOutputStream { private long count; /** * Wraps another output stream, counting the number of bytes written. * * @param out the output stream to be wrapped */ public CountingOutputStream(OutputStream out) { super(checkNotNull(out)); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 1.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/CountingOutputStreamTest.java
/** * Unit tests for {@link CountingOutputStream}. * * @author Chris Nokleberg */ @NullUnmarked public class CountingOutputStreamTest extends IoTestCase { public void testCount() throws Exception { int written = 0; ByteArrayOutputStream out = new ByteArrayOutputStream(); CountingOutputStream counter = new CountingOutputStream(out); assertEquals(written, out.size());Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/CountingOutputStreamTest.java
/** * Unit tests for {@link CountingOutputStream}. * * @author Chris Nokleberg */ @NullUnmarked public class CountingOutputStreamTest extends IoTestCase { public void testCount() throws Exception { int written = 0; ByteArrayOutputStream out = new ByteArrayOutputStream(); CountingOutputStream counter = new CountingOutputStream(out); assertEquals(written, out.size());Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2K bytes - Click Count (0)