Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for skipSafely (0.08 sec)

  1. guava/src/com/google/common/io/ByteStreams.java

        long totalSkipped = 0;
        // A buffer is allocated if skipSafely does not skip any bytes.
        byte[] buf = null;
    
        while (totalSkipped < n) {
          long remaining = n - totalSkipped;
          long skipped = skipSafely(in, remaining);
    
          if (skipped == 0) {
            // Do a buffered read since skipSafely could return 0 repeatedly, for example if
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 29.7K bytes
    - Viewed (0)
Back to top