Lines Matching refs:buf
51 byte[] buf = new byte[(int)file2.length()];
53 while ((len = fis.read(buf)) != -1) {
54 out.print(new String(buf));
110 byte[] buf = new byte[(int)new File("file2.1").length()];
113 while ((len=dis.read(buf)) != -1) {
114 dos.write(buf, 0, len);
152 ByteBuffer buf = ByteBuffer.allocate(len);
154 while ((len = rbc.read(buf)) != -1) {
155 buf.flip();
156 buf.get(b, 0, len);
157 buf.compact();