Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/main/java/org/codelibs/core/io/CopyUtil.java

            try {
                final byte[] buf = new byte[DEFAULT_BUF_SIZE];
                int len;
                int amount = 0;
                while ((len = in.read(buf)) != -1) {
                    out.write(buf, 0, len);
                    amount += len;
                }
                out.flush();
                return amount;
            } catch (final IOException e) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 52.4K bytes
    - Viewed (0)
Back to top