Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for CountingInputStream (0.62 seconds)

  1. android/guava/src/com/google/common/io/CountingInputStream.java

     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public final class CountingInputStream extends FilterInputStream {
    
      private long count;
      private long mark = -1;
    
      /**
       * Wraps another input stream, counting the number of bytes read.
       *
       * @param in the input stream to be wrapped
       */
      public CountingInputStream(InputStream in) {
        super(checkNotNull(in));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/io/CountingInputStreamTest.java

    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit tests for {@link CountingInputStream}.
     *
     * @author Chris Nokleberg
     */
    @NullUnmarked
    public class CountingInputStreamTest extends IoTestCase {
      private CountingInputStream counter;
    
      @Override
      protected void setUp() throws Exception {
        super.setUp();
        counter = new CountingInputStream(new ByteArrayInputStream(new byte[20]));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/io/CountingInputStreamTest.java

    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit tests for {@link CountingInputStream}.
     *
     * @author Chris Nokleberg
     */
    @NullUnmarked
    public class CountingInputStreamTest extends IoTestCase {
      private CountingInputStream counter;
    
      @Override
      protected void setUp() throws Exception {
        super.setUp();
        counter = new CountingInputStream(new ByteArrayInputStream(new byte[20]));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.5K bytes
    - Click Count (0)
Back to Top