Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Java8Compatibility (0.18 sec)

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

        }
    
        ByteBuffer buf = ByteBuffer.wrap(createBuffer());
        long total = 0;
        while (from.read(buf) != -1) {
          Java8Compatibility.flip(buf);
          while (buf.hasRemaining()) {
            total += to.write(buf);
          }
          Java8Compatibility.clear(buf);
        }
        return total;
      }
    
      /** Max array length on JVM. */
      private static final int MAX_ARRAY_LEN = Integer.MAX_VALUE - 8;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
Back to top